|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 3/19/2007 12:19:05 PM
Posts: 6,
Visits: 14
|
|
When using the following code:
<div id="chartdiv" align="center"> FusionCharts. </div>
<script type="text/javascript">
var chart = new FusionCharts("/Charts/DragNode.swf", "TestChart", "3000", "3000", "0", "1");
chart.setDataURL("DragNode1.xml");
chart.render("chartdiv");
</script>
Internet Explorer throws the following error: "TestChart" is undefinied.
This is preventing me using the getXMLData in internet explorer. The code works fine in Firefox.
Does anyone have any suggestions?
James
|
|
|
|
|
FusionCharts Team
      
Group: Administrators
Last Login: 5/12/2008 6:29:47 AM
Posts: 1,772,
Visits: 448
|
|
Are you using the chart inside a FORM? If yes, you'll need to pull it outside the FORM, before you can connect it to JavaScript.
Thanks, Pallav Nadhani FusionCharts Team
|
|
|
|