heydarifard
|
پاسخAnswer 36 : مشکل این کد من چیه ؟! اینجوری نمیشه ؟! کد: <script>function functions(){document.getElementById("idpostsweb").innerHTML='<center>در حال بررسی ...</center>';var xmlhttp=window.XMLHttpRequest?new XMLHttpRequest():new ActiveXObject('Microsoft.XMLHTTP');xmlhttp.onreadystatechange=function(){if(xmlhttp.readyState==4 && xmlhttp.status==200){code=xmlhttp.responseText;document.getElementById("idpostsweb").innerHTML=code;}}var url=document.getElementById("url").value;xmlhttp.open('get','url+'/posts',true);xmlhttp.send();}</script> |
||||||||
| دوشنبه 25 اسفند 1393 - 11:53 |
|