What about $.load() callback? Seems like its called in all possible
cases. The only disadvantage is error checking - is there any helper
in jQuery to check textStatus for error? This one is not particularly
beautiful.
if (textStatus == 'error' || textStatus == 'timeout' || textStatus ==
'parsererr
No problem, glad to help.
-T.J.
On Dec 9, 1:12 pm, Cameron van den Bergh
wrote:
> Thank you for this information, indeed, i was using $.get.
>
> On 9 déc, 18:13, "T.J. Simmons" wrote:
>
>
>
> > Are you using $.ajax or one of the other AJAX functions? $.get and the
> > rest only execute a callba
Thank you for this information, indeed, i was using $.get.
On 9 déc, 18:13, "T.J. Simmons" 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.
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#urldatacallbacktype has some
more information on that.
-T.J.
On Dec 9, 6:30 am,
4 matches
Mail list logo