The JavaScript in this entity works:
<entity id='LA' value='95' link="j-alert('hello Louisiana.')" />
The JavaScript in this entity doesn't work:
<entity id='ID' value='68' link="j-dashboard.sayHello('Idaho.')"/>
I have created an object 'dashboard' which handles the creation and manipulation of some fusion charts and maps. It is important that the functions remain in the object.
if I were to change the link to "JavaScript:dashboard.sayHello('Idaho')" it doesn't make a difference (This is depreciated, anyway), and "j-dashboard.sayHello-Idaho" doesn't work either.
I'm not sure what else to try. Is there something I'm missing?