NS_ERROR_DOM_BAD_URI error in AJAX
by Ramya[ Edit ] 2009-12-09 11:32:13
NS_ERROR_DOM_BAD_URI error in AJAX:
While using ajax code as request.open('..',url,true), you may face an issue like,
Error: uncaught exception: [Exception... "Access to restricted URI denied" code: "1012" nsresult: "0x805303f4 (NS_ERROR_DOM_BAD_URI)" location: "ajax.js Line: 60"]
This error occurs if you have given different domain name in the code. It considers
http://hscripts.com and
http://www.hscripts.com as different domains and displays this type of errors.
Hence check the code whether you have given same domain or different domains like the above said....