mrras25 Report post Posted February 20, 2008 In debug mode I have noticed that the unescape(strURL) is removing everything after & symbol why is this var strURL = "createChart.php?chartType=stacked&view=all&date=2007-11-08"; strURL = unescape(strURL); //alert(strURL); chart_chartID = new FusionCharts("flash/MSStackedColumn2D.swf", "chartID", 950, 370, "1", "1"); chart_chartID.addParam("wmode", "transparent"); chart_chartID.setDataURL(strURL); result in debug mode: INFO: Chart registered with external script. DOM Id of chart is chartID INFO: XML Data provided using dataURL method. dataURL provided: createChart.php?date=2007-11-28 dataURL invoked: createChart.php?date=2007-11-28 ERROR: An error occurred while loading data. Please check your dataURL, by clicking on the "dataURL invoked" link above, to see if it's returing valid XML data. Common causes for error are: No URL Encoding provided for querystrings in dataURL. If your dataURL contains querystrings as parameters, you'll need to URL Encode the same. e.g., Data.asp?id=101&subId=242 should be Data%2Easp%3Fid%3D101%26subId%3D242 Different sub-domain of chart .swf and dataURL. Both need to be same owing to sandbox security. Network error as you can see by the highlighted red part the whole url string is not being passed. please help. Share this post Link to post Share on other sites
Arindam Report post Posted February 21, 2008 Hi, Please use escape() function for URL encode ok. It will solve your problem <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /> strURL = escape(strURL); Share this post Link to post Share on other sites