XML HTTP Request. JavaScript에서 사용됨. 본 기술을 이용하는것을 통틀어 AJAX라고도 한다.
관련포스트
JavaScript sample
req = new XMLHttpRequest();
req.open("GET", url, true);
req.onreadystatechange = callback;
...IE7 부터는 Firefox,Safari와 같은 Native Object로 구현.
var xmlHttp = null;
if (window.XMLHttpRequest) {
// If IE7, Mozilla, Safari, and so on: Use native object
xmlHttp = new XMLHttpRequest();
}
else
{
if (window.ActiveXObject) {
// ...otherwise, use the ActiveX control for IE5.x and IE6
xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
}
}
BioHackersNet