The javascript code which is working on safari is not working on firefox. When I debugged it from HTTPFOX it gave NS_ERROR_DOCUMENT_NOT_CACHED error
I have a javascript code which is working fine with safari but not working at all in firefox. The code is
<html><head></head> <body> <button type="button" onClick="handleButtonClick();">undo</button> <button type="button">redo</button> <select><option value="V1">V1</option> <option value="V2">V2</option> <option value="V3">V3</option> <option value="V4">V4</option> <option value="V5">V5</option></select> <script type="text/javascript"> function handleButtonClick(){var xmlHttp, handleRequestStateChange; handleRequestStateChange = function() {if (xmlHttp.readyState==4 && xmlHttp.status==200) { var substring=xmlHttp.responseText; alert(substring); } } xmlHttp = new XMLHttpRequest(); xmlHttp.open("GET", "http://csce.unl.edu:8080/test/index.jsp?id=c6c684d9cc99476a7e7e853d77540ceb", true); xmlHttp.onreadystatechange = handleRequestStateChange; xmlHttp.send(null);} </script> </body> another I am getting this also in url text/html (NS_ERROR_DOM_BAD_URI) </html>
Whats going wrong I can't figure out. Kindly suggest... I am struggling with this for last few days..
Novain'i cor-el t@
All Replies (1)
Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web page development issues with Firefox.
http://forums.mozillazine.org/viewforum.php?f=25
You'll need to register and login to be able to post in that forum.