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. Link to comment https://forums.phpfreaks.com/topic/44342-javascript-print/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.