I am doing error handling in my.js, where i am having cross domain call to other server, also for dynamic HTML template i am using Mustache.js.
$.getJSON(url, fu
Judging by the jsoncallback=?
parameter and the response jQuery191...780({...})
, it seems like jQuery is generating a JSONP request. JSONP requests are not subject to the same origin policy restrictions but they do have the following limitation as described here:
Note: This [error] handler is not called for cross-domain script and cross-domain JSONP requests.
The solution: