Ajax problem on Firefox

Just a quick problem report with solution.

If you get :

Error: [Exception… “Component returned failure code: 0×80040111 (NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.status]” nsresult: “0×80040111 (NS_ERROR_NOT_AVAILABLE)” location: “JS frame :: http://www.********.*** :: **** :: line **” data: no]

Check if you did a “xhr.send(null);” and convert to “xhr.send(”);”.

Don’t ask me why, it worked for me. Take it as a cargo culting solution (not that with browsers you can actually aim for well motivated, rational solutions anyway) but it works.

Comments

Comments are closed.