dbladwin

Entity link doesn't work with JavaScript and object

Recommended Posts

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?

Edited by Guest

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now