AJax's Call In Javascript?

Sabarimahesh
Posted by Sabarimahesh under JavaScript category on | Points: 40 | Views : 1137
var Url="getData.aspx?AjaxCall=1&Mode=DelType";
var SavedResult=postXML(objXMLdom,Url);

function postXML(ObjXMLDom,URL)
{
var objXMLHttp=new ActiveXObject("Microsoft.XMLHTTP");
var strHTTP=URL;
objXMLHttp.open("POST",strHTTP,false);
objXMLHttp.send(ObjXMLDom);
if(objXMLHttp.responseText != "")
{
return (objXMLHttp.responseText);
}
}

Comments or Responses

Login to post response