Ajax synchronous call failed in Firefox, worked in IE, Chrome and Safari
Dear Sirs,
I need to use synchronous Ajax call which breaks on opening in synchronous mode. The error is NS_ERROR_FAILURE. This code works perfectly in IE, Chrome and Safari. Please help. Regards, Mark
Here I included part of my code.
function PostRequest(MyUrl){ var qXML = new XMLHttpRequest(); // some code qXML.open("POST", MyUrl, false); qXML.setRequestHeader('Accept', '*'); qXML.setRequestHeader('Origin', '*'); qXML.setRequestHeader('content-type','application/x-www-form-urlencoded'); try { qXML.send(StringToPost); // some code ..... } catch(err){ alert(err + '\n...unavailable.\nYour request will appear in the new window.'); }; // post log.....
cor-el trɔe
Ŋuɖoɖo si wotia
Sorry, this forum is for Firefox user support, there may not be any Ajax developers providing support here this morning.
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.
All Replies (1)
Ɖɔɖɔɖo si wotia
Sorry, this forum is for Firefox user support, there may not be any Ajax developers providing support here this morning.
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.