Sign in to follow this  
yuvaraj

Document.getelementbyid().innerhtml Empty The "flashvars" In Ie 8

Recommended Posts

Hi,

 

i am using the FusionChart V3 .

 

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

 

In the Above Line the right side innerHTML Emptied the "flashvars="" " . Is this the Problem for getting "Error in Loading Data" in IE 8 .

 

Please help me ,

Share this post


Link to post
Share on other sites

Hi,

 

Please make sure that you are not using any URL encoded characters which might cause the error.

 

In case this does not help, please send us the scaled down version of the code.

 

Hope this helps. :)

Share this post


Link to post
Share on other sites

Hi,

 

Please make sure that you are not using any URL encoded characters which might cause the error.

 

In case this does not help, please send us the scaled down version of the code.

 

Hope this helps. :)

 

Hi Sanjukta,

 

Thanks for ur reply.

 

Actually i am using the FusionChart.Js Version: vFree.1.2 but i am using the FusionCharts V3 Demo Charts .

 

i used the below code in my Xhtml file. There is No URL Encoded Characters .

 

<div id="overallperformance"></div>

 

<script type="text/javascript" language="Javascript">

 

//<![CDATA[

var chart_funnel = new FusionCharts("#{email['web_url']}/graphs/new/Chart/MSBar3D.swf, "overall", "425", "300");

chart_funnel.addParam("WMode", "Transparent");

chart_funnel.setDataURL("/mtc/dashboard/dashboardoverallperformance.seam");

chart_funnel.render("overallperformance");

//]]>

</script>

</div>

 

and also i used the onload event like below,

 

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

 

The "Error in Loading Data " was occured in the first time loading the page for all Charts . if i do some action like drop down box , while selecting the Data in that Drop down box the Charts are loaded fine.

 

 

Below i attached my dashboard.Js file for reference.

dashboard.txt

Edited by yuvaraj

Share this post


Link to post
Share on other sites

Hi Sanjukta,

 

Thanks for ur reply.

 

Actually i am using the FusionChart.Js Version: V3 and FusionCharts V3 Demo Charts .

 

i used the below code in my Xhtml file. There is No URL Encoded Characters .

 

<div id="overallperformance"></div>

 

<script type="text/javascript" language="Javascript">

 

//<![CDATA[

var chart_funnel = new FusionCharts("#{email['web_url']}/graphs/new/Chart/MSBar3D.swf, "overall", "425", "300");

chart_funnel.addParam("WMode", "Transparent");

chart_funnel.setDataURL("/mtc/dashboard/dashboardoverallperformance.seam");

chart_funnel.render("overallperformance");

//]]>

</script>

</div>

 

and also i used the onload event like below,

 

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

 

The "Error in Loading Data " was occured in the first time loading the page for all Charts . if i do some action like drop down box , while selecting the Data in that Drop down box the Charts are loaded fine.

 

 

Below i attached my dashboard.Js file for reference.

dashboard.txt

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