Home > Javascript > jQuery XMLHttpRequest Object Documentation

jQuery XMLHttpRequest Object Documentation

September 27th, 2009

You’d think that one of the most commonly used objects in jQuery would be well-documented and readily Google-able.  But if it is, I’m searching for the wrong stuff.  Below I’ve posted some screen captures of what lurks within XMLHttpRequest.  I generated these by running “console.log(request)” on an XMLHttpRequest object named “request”.

Top level accessors and functions (click for full size):

xmlhttprequest

Most of the juicy stuff is inside .channel (again, click for full size):

xmlhttprequest_channel

Unfortunately, it seems that Firefox or jQuery considers it a breach of security to actually access any of this juicy info stored in .channel.

Bill Javascript

  1. July 22nd, 2010 at 07:43 | #1

    thank you man, very helpful post.

  2. Sam
    September 8th, 2010 at 01:52 | #2

    Thanks for this dude. This really should be documented on the jQuery site! Thanks again.

  3. accy
    January 5th, 2011 at 14:20 | #3

    Perhaps you will find this more helpful http://www.w3schools.com/dom/dom_httprequest.asp :)

  1. No trackbacks yet.