Julhas Sujan Report post Posted November 2, 2014 Hi, I need urgent help. I am trying to show prettyphoto with jquery change event. In the first time change of html dropdown data, prettyphoto working fine but when I am changing again the html dropdown data the the prettyphoto does not work. Can any1 help me? Here is the attachment of the full job. Thanks Julhas Sujan FusionCharts_Drill_down.zip Share this post Link to post Share on other sites
Julhas Sujan Report post Posted November 3, 2014 Hello Experts, Can any1 help me? Thanks Share this post Link to post Share on other sites
Vishalika Report post Posted November 3, 2014 Hi, Your sample is creating chart with same id. You need to change it every time it renders in the container. Try rendering the chart using the id. Ref. Code: FusionCharts("myChartId").render("chartContainer"); Hope this helps. Share this post Link to post Share on other sites
Julhas Sujan Report post Posted November 5, 2014 (edited) Hi, Thank you very much for your response. I have added and tried, I got the prettyphoto after changing dropdown, but same data rendering. Here is my code. Please check: var myChart = new FusionCharts( "Pie3D.swf", "myChartId", "400", "300", "0", "1" ); myChart.setXMLUrl("sd_customer.xml"); FusionCharts("myChartId").render("chartContainer"); // I have added this but always contain the same data not change after changing dropdown. FusionCharts("myChartId").configureLink ({ width : '500', height: '320', id: 'linked-chart', renderAt : "linkedchart-container", overlayButton: { show : false } }, 0); FusionCharts("myChartId").addEventListener('BeforeLinkedItemOpen', function() { $.prettyPhoto.open("#prettyphoto-container",'LinkedCharts in PrettyPhoto','FusionCharts XT'); }); Julhas Edited November 5, 2014 by Julhas Sujan Share this post Link to post Share on other sites
Moonmi Sonowal Report post Posted November 14, 2014 Hi, In your "index.php" file, the linked "sd_customer_grp_pie_01.php" fetches the same " $xml_output " eveytime. Hence the same data renders every the prettyphoto renders. Thanks. Share this post Link to post Share on other sites