[jQuery] Re: Instantiating a chart in a dynamically-added div

2009-11-12 Thread Scott Sauyet
It's probably not a good idea to make the user's browser hang while you wait for a response from the server. Have you tried something like this? $("#summDiv").load("/your/url", {ASXCode:z}, function (responseText, textStatus) { // might want to check textStatus here. doTheChar

[jQuery] Re: Instantiating a chart in a dynamically-added div

2009-11-11 Thread GT
The answer was simple - replace $("#summDiv").load("/includes/> StockFullSum.php", {ASXCode:z}); with $.ajax({ type: "POST", async: false, url: "/includes/ StockFullSum.php", data: "ASXCode=" + z, success: function