spwicker

Javascript error in IE7 using innerHtml method

Recommended Posts

When displaying a chart using your javascript method in IE7, its giving me a run time error and failing to show the chart. I've traced the error down to line 229 of the FusionCharts.js file (enterprise version):

 

 

 

n.innerHTML = this.getSWFHTML();

 

 

 

I can go in and change this line to:

 

 

 

n.innerHtml = "test";

 

 

 

and it still errors with the same run time error in IE.

 

 

 

We currently are using jquery in our application so I changed this line to:

 

 

 

jQuery(n).html(this.getSWFHTML());

 

 

 

and it seems to work fine.. But we would like this to not rely on the jquery library. Any ideas on what is going on here or how to fix it?

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