« Integrating SailWave Race Results with jQuery | Main | I'll see your Groovy and raise you a Python (and Ruby, PHP for good measure) »

2009.05.14

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00d8341c9edc53ef01156f92453b970c

Listed below are links to weblogs that reference Handling Errors Using jQuery.load:

Comments

Feed You can follow this conversation by subscribing to the comment feed for this post.

Erick Dovale
Parameters in javascript are optional. I guess the reason why XmlHttpRequest parameter is there is for cases where the response text and status are not enough for the kind of processing you need to do. Most use cases though there will be no need to even declare the parameter in your callback. Convenience is king.
BBG
Parameters may be optional, but they are not named, meaning in this case you need to provide all the redundant parameter placeholders in order to access the one you want. IMHO, it would of been just as convenient and less obtuse if they simply passed in the XMLHttpRequest as the single optional parameter.

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been saved. Comments are moderated and will not appear until approved by the author. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment

Comments are moderated, and will not appear until the author has approved them.