Sign in to follow this  
elbati

How to force the upload of different XML files?

Recommended Posts

Hi there,

I have a FusionChart which loads a default xml file as follows:

 <script type="text/javascript">

  var chart1 = new FusionCharts("LineChartMaster.swf", "sampleChart", "550", "330", "0", "1");

  chart1.setDataURL("LineDataMaster.xml");

chart1.render("chart1div");

 </script>

But, I need to update the chart with different XML files, depending on the button that the user pushes in the website (if possible, avoiding to update the html page)

What is the code I need to include to force the upload of specific (and different) XML files?

Thanks!

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