jsteriti

Javascript Error On Html5 Rendering In Ie8 When Refresh

Recommended Posts

Hi all,

 

I am currently using v3.1 and I am trying to upgrade to v3.2 and do HTML5 rendering of my charts.

 

My charts are rendering fine but I get a Javascript error each time I try to refresh the page where the chart is when I am using IE8. Everything is working fine for Firefox or when the chart is rendered in flash.

 

The bug can be easily reproduced on a FusionCharts sample page: http://www.fusioncharts.com/Code/MyFirstChart/weekly-sales-force-js.html

 

Just use IE8 and go to this URL and do right click refresh. The following javascript error will be coming up:

 

'undefined' is null or not an object jquery.min.js, line 55 character 143

 

I have not tried with any other IE version.

 

(I have posted the same topic into the Javascript problem section. Not sure where it belongs so feel free to remove/move the post to the appropriate section)

 

Best Regards,

 

-- Jean

Share this post


Link to post
Share on other sites

I forgot to mention that the debugger needs to be turned on in IE else you will probably no see the error. But still I would like to see this fixed because this error is preventing me from implementing the v3.2.

Share this post


Link to post
Share on other sites

Hey Jean,

 

The error "Undefined null in jquery.min.js" which occurs in IE 8 is due to the conflict, since FusionCharts.js depends on jquery.min.js file.

 

Could you please try including the "jquery.min.js" file before including "FusionCharts.js"?

 

Below is the code snippet:

<script type="text/javascript" src="jquery.min.js"></script>

<script type="text/javascript" src="FusionCharts.js"></script>

 

I hope this helps. :)

 

Do let me know your feedback.

 

 

 

 

 

I forgot to mention that the debugger needs to be turned on in IE else you will probably no see the error. But still I would like to see this fixed because this error is preventing me from implementing the v3.2.

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