Hi,
> else
> {
> ajaxobj.onreadystatechange = function()
> {
> if(ajaxobj.readyState==4)
> alert(ajaxobj.responseText);
> };
> ajaxobj.open("GET", path, true);
> }
> }
Das liefert mir überhaupt kein Ergebnis, da habe ich nun mal einfach die if-Zeile mit dem readyState gegen "alert(ajaxobj.readyState);" ersetzt. Als Ausgabe kommt dann als erstes "1" (readystate) dann "" (responsetext) und danach garnichts mehr, eigentlich müsste es doch bis zum readyState "4" durchlaufen oder?
Ja, das könnte durchaus passieren - vorausgesetzt, du würdest den Request auch absenden ...
MfG ChrisB
--
“Whoever best describes the problem is the person most likely to solve the problem.” [Dan Roam]
“Whoever best describes the problem is the person most likely to solve the problem.” [Dan Roam]