Sign in to follow this  
Guest Rajroop

why i use link='myJS(245)' cause the ie close?

Recommended Posts

I use MSLine.swf and the method setDataXML

xml like below:

<set value='245'  link='JavaScript:myJS(245)' />

 

JS like:

function myJS(a){

  alert(a);

  }

When I clicked the data point of the chart, ie closed automatically!No alert was shown!

Can anybody help me?

God bless you!

Edited by Guest

Share this post


Link to post
Share on other sites
Guest Rajroop

Hey Alex,

 

 

 

I hope you are doing well. Saptarshi sends his regards too! :P

 

 

 

Could you please try with this:

 

 

 

<set value='245' link='myJS("245")' />

 

 

 

I hope this helps.

Share this post


Link to post
Share on other sites

Dear Rajroop

Thank you very much!

I use  <set value='245'  link='JavaScript:myJS(%26apos;245%26apos;)' />

and it is working.

 

<set value='245'  link='JavaScript:myJS(245)' /> can not work because my IE has caught virus.

 

I have another find that  when I use FusionChartsRenderer.jsp in EXT project error 80020101 occurs.

It is because of the HTML comment tag <!-- Finally, render the chart.-->.

window.execScript in IE fails when scripts include HTML comment tag.

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi Alex,

You are most welcome. :)

I am glad to help you.

Please revert in case you face any further issue.

Happy FusionCharting. :)

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