temporaneo Report post Posted March 7, 2008 (edited) Assuming that all paths/filenames are correct (see the attachments), I have 2 files: 1. container.html with an Ajax call to... 2. graph_1.html (NOTE: div id="chartdiv" must contain almost 1 char) If I call graph_1.html directly the graph is displayed. If I call container.html and than click on GRAPH1 link, the graph is not displayed (graph_1.html is loaded correctly, but the graph is not displayed). Can you help me? Thank you in advance very much, Tempo Ajax-example.zip Edited March 7, 2008 by Guest Share this post Link to post Share on other sites
Arindam Report post Posted March 8, 2008 Hi Tempo, I went through your attachment. I changed your code in ajax.js . i.e && xmlhttp.status == 200 // No need that code Just need if (xmlhttp.readyState == 4) { obj.innerHTML = xmlhttp.responseText ; } Also I changed your code in graph_1.html. Here you are using ajax, that why when you call graph_1.html via ajax call and putting that response in div that time javascript was not call automatic that Ajax-example.zip Share this post Link to post Share on other sites
temporaneo Report post Posted March 13, 2008 Arindam, thank you for your time Arindam (3/8/2008)Here you are using ajax, that why when you call graph_1.html via ajax call and putting that response in div that time javascript was not call automatic that Share this post Link to post Share on other sites
Guest Rajroop Report post Posted May 26, 2009 You are most welcome! Share this post Link to post Share on other sites