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.
        doTheChart();
        doTheRest(z);
    });

Look at the callback parameter here for more info:

    http://docs.jquery.com/Ajax/load#urldatacallback

Cheers,

  -- Scott

Reply via email to