View Single Post
 
Old March 9th, 2013, 08:39 AM
mkl34367803 mkl34367803 is offline
Registered User
Points: 3, Level: 1
Points: 3, Level: 1 Points: 3, Level: 1 Points: 3, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2013
Location: china
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to mkl34367803
Default

Quote:
Originally Posted by 张松伟 View Post
first,you need to create ajax engine:var xmlHttp = new XMLHttpRequest();it depends on your browser.
second:xmlHttp.open("get",url,true);
xmlHttp.send(null)
xmlHttp.onreadystatechange = callback;
function callback(){
if(xmlHttp.readyState == 4){ document.getElementById("id").innerHTML = xmlHttp.responseText;
}
}
actually,you can google or baidu,there are many things what you want
are you kidding me ?i don't think he or her konw baidu.