Sign in to follow this  
yuvaraj

Loading Fusion Chart Using Javascript Causes In Ie 8 "error In Loading Data"

Recommended Posts

Hi,

 

JavaScript

Function init (id1,id2,id3,id4)

{

document.getElementById('categorydiv1').innerHTML = document.getElementById(id1).innerHTML;

document.getElementById('categorydiv2').innerHTML = document.getElementById(id2).innerHTML;

document.getElementById('categorydiv3').innerHTML = document.getElementById(id3).innerHTML;

document.getElementById('categorydiv4').innerHTML = document.getElementById(id4).innerHTML;

}

 

Xhtml

 

<body onload="init('${dashboard.currentDashboardCharts[0]}','${dashboard.currentDashboardCharts[1]}','${dashboard.currentDashboardCharts[2]}','${dashboard.currentDashboardCharts[3]}');" >

<table style="margin-bottom:-20.5pt;margin-right:16pt">

<tr>

<td>

<div id="categorydiv1" style="display:block">

</div>

 

</td>

<td>

<div id="categorydiv2">

</div>

</td>

</tr>

 

<table style="margin-bottom:-20.5pt;margin-right:16pt">

<tr>

<td>

<div id="categorydiv3">

</div>

</td>

<td>

<div id="categorydiv4">

</div>

</td>

</tr>

</table>

 

These Codes work fine in all the Browsers except IE 8 . Its Showing 'Error in Loading Data " message instead of to Load the Chart . Please help me to revert from this Error. Thanks in Advance.

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