I've been using this to load another page:
http:||docs.jquery.com/Ajax/load
and just using their example,
$("#links").load("/Main_Page #jq-p-Getting-Started li");
However I want to run a function when the load is successful, and a different one if it fails, unfortunately the description on the callback says:
The function called when the ajax request is complete (not necessarily success).
How do I make sure the load was successful?
Thanks.