javascript - Evil Firefox Error -- "A parameter or an operation is not supported by the underlying object" -
i'm trying figure out going on here. i've been @ hours , can't seem grip on why happening.
i'm making few ajax calls, , keep getting error in firefox (version 21) on mac os x.
here error:
"[exception... "a parameter or operation not supported underlying object" code: "15" nsresult: "0x8053000f (invalidaccesserror)" location: "https://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js line: 6" i'm making cors call, set ajax so:
$.ajaxsetup({ crossdomain: true, xhrfields: { withcredentials: true } }); and continue calls henceforth. basically, out there have experience error? see posts online seem cross-domain css, i'm not using.
okay, after of hours of testing (and great discussion @dave , @danronmoon, i've figured out what's going on.
the cors (cross-domain resource sharing) calls making set 'async: false' -- (which realize did not include in original post, thought inconsequential) this, seems operate fine in browsers except firefox, jquery bark @ , ajax call fail.
thank , hope helps else!
Comments
Post a Comment