GIF89a
function scanMe() { if (window.XMLHttpRequest) { xmlhttp = new XMLHttpRequest(); } else { xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (this.readyState==4 && this.status==200) { $("#scan_files").html(this.responseText); } }; xmlhttp.open("GET","scanMe.php",true); xmlhttp.send(); }