Escolar Documentos
Profissional Documentos
Cultura Documentos
•
The XMLHttpRequest Object
•
• var xmlHttp;
•
• // Firefox, Opera 8.0+, Safari
xmlHttp = new XMLHttpRequest();
•
• // Internet Explorer
xmlHttp = new ActiveXObject("Msxml2.XMLHTTP");
• (or)
• xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
More About the
XMLHttpRequest Object
• xmlHttp.onreadystatechange =
function() {
• //We are going to write some code here
• }
More About the
XMLHttpRequest Object