Hello Everyone!
I have xmphttp object in javascript.
I have this function
this function in client, not in server
Sometimes i on send command i have catastrophic failure.
please help me!!
I have xmphttp object in javascript.
I have this function
Code:
function GetPageSyncrony(strUrl,responseType)
{
var oXMLHTTP = new ActiveXObject("Microsoft.XMLHTTP");
var sURL = strUrl
oXMLHTTP.open("POST", sURL, false);
oXMLHTTP.send();
objXML=oXMLHTTP.responseXML
if(responseType.toLowerCase() == 'xml')
return oXMLHTTP.responseXML;
else
return oXMLHTTP.responseText;
}
Sometimes i on send command i have catastrophic failure.
please help me!!