Web Development with jQuery®

(Elliott) #1

(^542) ❘ APPENDIX G AJAX METHODS
bapp07.indd 02/17/2015 Page 542
username A username to specify in response
to an HTTP authentication
required request.
String
xhr Callback for creating the
XMLHttpRequest object. Defaults
to the ActiveXObject when avail-
able (IE), the XMLHttpRequest
otherwise. Override to provide
your own implementation for
XMLHttpRequest or enhance-
ments to the factory.
Function
xhrFields An object of key, value pairs
that should be set on the native
XMLHttpRequest object.
Object
DATA TYPES
Type Description
xml Returns an XML document that can be processed with
jQuery.
html Returns HTML as plain text.