Thank you for this information, indeed, i was using $.get.
On 9 déc, 18:13, "T.J. Simmons" <theimmortal...@gmail.com> wrote: > Are you using $.ajax or one of the other AJAX functions? $.get and the > rest only execute a callback upon success; you'll need to use $.ajax > if you want a callback for an error. > > http://docs.jquery.com/Ajax/jQuery.get#urldatacallbacktypehas some > more information on that. > > -T.J. > > On Dec 9, 6:30 am, Cameron van den Bergh > > > > <cameron.vandenbe...@gmail.com> wrote: > > Good day, > > > When executing an ajax request, i've noticed the following problems : > > - the textStatus callback parameter is always set to success ; > > - the callback isn't triggered if a download error occurs (404 for > > example). > > > I understand that the second problem might be unsolvable but is there > > any way to get the textStatus to work properly or is it still being > > worked on ? > > > Thanks for your help, > > > Cameron