Hi Dave,

Can you provide me some example code to check those two options?  I don't
see that documented in the API.


Jeff



On 12/11/06, Dave Methvin <[EMAIL PROTECTED]> wrote:

 > I was wondering about using the .load() method with jQuery.
> I have some code that works great, however if for some reason
> the page that is being loaded using .load returns a 404 status,
> jQuery doesn't seem to recognize this - the code just continues
> executing.

You may want to use jQuery.ajax instead of .load, it gives you a few more
options about how to handle errors. Still, even with .load, your callback
should be getting responseText and status as two arguments and you should be
able to check status.


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/



_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to