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):
Most of the juicy stuff is inside .channel (again, click for full size):
Unfortunately, it seems that Firefox or jQuery considers it a breach of security to actually access any of this juicy info stored in .channel.
thank you man, very helpful post.
Thanks for this dude. This really should be documented on the jQuery site! Thanks again.
Perhaps you will find this more helpful http://www.w3schools.com/dom/dom_httprequest.asp 🙂