var req=new IFramelHttpRequest(); req.onload=function(){ alert(this.responseXML.tagName); } req.open("get","test.html");