Hey guys,
How can i make an "please wait" msg while an ajax request is proccesing?
My code looks like this:
Thanks,Code:function showInfo(num) { if (window.XMLHttpRequest) xmlhttp=new XMLHttpRequest(); xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) document.getElementById("wrapper").innerHTML=xmlhttp.responseText; } // some unessasry code xmlhttp.open("GET","getdogs.php?parameters=xxx,true); xmlhttp.send(); }
ulthane



Reply With Quote
Bookmarks