Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- xmlhttp=new XMLHttpRequest();
- xmlhttp.onreadystatechange=function()
- {
- if (xmlhttp.readyState==4 && xmlhttp.status==200)
- {
- document.getElementById("myDiv").innerHTML=xmlhttp.responseText;
- }
- }
- xmlhttp.open("GET","ajax_info.txt",true);
- xmlhttp.send();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement