stockton Posted March 26, 2007 Share Posted March 26, 2007 I now have my Ajax working OK and now need to print the screen that resulted from that call before clearing same. I have therefore in my function handleIssueTicketsResponse() { if(http.readyState == 4 && http.status == 200) { document.getElementById("loadingNode").innerHTML = ""; // confirm(response); print(); ClearForm(); } else if (http.readyState < 4) { document.getElementById("loadingNode").innerHTML = "Inserting ...."; } } Note print() & then ClearForm(). However I get the screen printed fine but it contains no data. Almost as if I ClearForm() & then print(). Suggestions please. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.