Sign in to follow this  
oalavi

JavaScript Link not working

Recommended Posts

I'm using the trial version...

and I can't ge the Javascript link to work per the example in the documnetation...

per the documentation, i have added 'link="JavaScript:myJS('NA, 515');" ' to the entity tag.

when the map renderes the entity mouse pointer does change (like it should be a link) but when I click on it, nothing happens.

when I call that JS function from another test link on the page, it works...

Share this post


Link to post
Share on other sites

Hi,

Could you please use this?

If you are using dataURL then use

link='JavaScript:myJS('NA, 515' );'

If you are using dataXML then use

link='JavaScript:myJS(%26apos;NA, 515%26apos; );'

Edited by Guest

Share this post


Link to post
Share on other sites

Hi,

 

 

 

I am having the same problem.

 

Replacing "'" with ' and %26apos; does not help here.

 

I even try to use

 

 

 

link='javascript:alert(32)'

 

 

 

instead, it does not seem to work either.

 

 

 

I am using Firefox 3.

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
Sign in to follow this