sabix: webseite in variable

Beitrag lesen

Ich danke Euch!

hab's jetzt hinbekommen, denke das ist ajax??? egal läuft auf jeden.. :-)

function test()
{

var xmlhttp = new ActiveXObject("Msxml2.XMLHTTP.3.0");
xmlhttp.open("POST", "http://localhost/APPLICATION/sne.asmx", false);
xmlhttp.send();

alert(xmlhttp.readyState);
alert(xmlhttp.responseText);
//alert(xmlhttp.responseXML);
alert(xmlhttp.status);
alert(xmlhttp.statusText);

sap_connection = xmlhttp.responseText.indexOf("SAPcon&gtOK/");
if (sap_connection >=1)
{
alert ("sap_connection ok");
}
}

so long
sabix