-
Book Overview & Buying
-
Table Of Contents
jQuery 1.4 Reference Guide
These methods can be used to make arbitrary AJAX requests.
Perform an asynchronous HTTP (AJAX) request.
$.ajax(settings)
settings: A map of options for the request. It can contain the following items:
url: A string containing the URL to which the request is sent.
async (optional): A Boolean indicating whether to perform the request asynchronously. Defaults to true.
beforeSend (optional): A callback function that is executed before the request is sent.
cache (optional): A Boolean indicating whether to allow the browser to cache the response. Defaults to true.
complete (optional): A callback function that executes whenever the request finishes.
contentType (optional): A string containing a MIME content type to set for the request. Defaults to application/x-www-form-urlencoded.
context (optional): An object (typically a DOM element) to set as this within the callback functions. Defaults to window. New in jQuery 1.4.
data (optional): A map or string that...
Change the font size
Change margin width
Change background colour