Hi, I am trying to implement ajax in firefox browser. The
js code snippet is given below : //----------------------------------------------------------xmlobject = document.implementation.createDocument("","",null) ; xmlobject.async=false; var loaded = xmlobject.load("<?xml version=''1.0''?><xml><item><name>sample</name><value>sample</value></item></xml>"); //the xml here is actually returned from a jsp which is called from javascript if (loaded) { alert("loaded"); parseXML(); } //..........some code here //---------------------------------------------------------- The alert box is never raised and the function parseXML is not called. This code snippet, I had taken from the following link
http://www.webmasterworld.com/forum91/3517.htm. I had the same problem earlier as mentioned there. Can any one tell me the reason why this xml object is not getting loaded? Or, code snippets wherein AJAX has been implemented in FireFox would help.
Prem Anandh P.
Ambition Never comes to an End