use $.ajax() instead, you can define function when the ajax fails
On Nov 18, 12:17 am, Humpty Dumpty <ste...@gmail.com> wrote: > Hi guys, > I write a web page that retrieve the data from a JSON formatted file > but when this fiel doesn't exist I can't see any error; > how I can handle this situation > thanks