Re: Firefox/Ie difference javascript/ajax

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Gary,
Perhaps the responseText has quotes in the data or some other chars you need to delimit which throughs off the alert function. FireFox and IE both have very good Web Developer plug-ins now which will assist you in many javascript issues.
-eric wood

From: "Gary Stainburn"
Can anyone tell me while the following code doesn't work in IE, but does work
Firefox?
        alert("ajax returned"+xmlHttp.responseText);
        document.getElementById("listdiv").innerHTML=xmlHttp.responseText;



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux