ajax+php+mysql no refresh paging code ajax+php tutorial+mysql tutorial no refresh paging code 2 3 4 Poll results 5 6 7 <br> 8 <br> 9 function getxmlhttpobject()<br> 10 {<br> 11 var xmlhttp=null;<br> 12 try<br> 13 {<br> 14 // firefox, opera 8.0+, safari<br> 15 xmlhttp=new xmlhttprequest();<br> 16 }<br> 17 catch (e)<br> 18 {<br> 19 // internet explorer<br> 20 try<br> 21 {<br> 22 xmlhttp=new activexobject("msxml2.xmlhttp");<br> 23 }<br> 24 catch (e)<br> 25 {<br> 26 xmlhttp=new activexobject("microsoft.xmlhttp");<br> 27 }<br> 28 }<br> 29 return xmlhttp;<br> 30}<br> 31 function checkajax(){<br> 32 xmlhttp=getxmlhttpobject()<br> 33 <br> 34 if (xmlhttp==null)<br> 35 {<br> 36 alert ("Your browser does not support ajax!");<br> 37 return ;<br> 38 }else<br> 39 {<br> 40 return xmlhttp;<br> 41 }<br> 42}<br> 43 function preshow(){<br> 44 ajaxobj = checkajax();<br> 45 var url = "page.php?page=1";<br> 46 ajaxobj.onreadystatechange=statechanged;<br> 47 ajaxobj.open("get",url,true);<br> 48 ajaxobj.send(null);<br> 49}<br> 50 function showhint1(str)<br> 51 {<br> 52 ajaxobj = checkajax();<br> 53 document.getelementbyid("msg").innerhtml="Reading data...";<br> 54 <br> 55 var url = str;<br> 56 ajaxobj.onreadystatechange=statechanged;<br> 57 ajaxobj.open("get",url,true);<br> 58 ajaxobj.send(null);<br> 59 <br> 60}<br> </blockquote> <p> 1 2 </p> <p align="left"></p> <div style="display:none;"> <span id="url" itemprop="url">http://www.bkjia.com/PHPjc/630645.html</span><span id="indexUrl" itemprop="indexUrl">www.bkjia.com</span><span id="isOriginal" itemprop="isOriginal">true</span><span id="isBasedOnUrl" itemprop="isBasedOnUrl">http: //www.bkjia.com/PHPjc/630645.html</span><span id="genre" itemprop="genre">TechArticle</span><span id="description" itemprop="description">ajax+php+mysql no refresh paging code ajax+php tutorial+mysql tutorial no refresh paging code!doctype html public -//w3c//dtd html 4.01 transitional//en http://www.w3.org/tr/html4/loose.dtd...</span> </div> <div class="art_confoot"></div>