• jQuery
  • jQuery UI
  • jQuery Mobile
  • Sizzle
  • QUnit
  • Plugins
  • Contribute
    • CLA
    • Style Guides
    • Bug Triage
    • Code
    • Documentation
    • Web Sites
  • Events
  • Support
    • Learning Center
    • Try jQuery
    • IRC/Chat
    • Forums
    • Stack Overflow
    • Commercial Support
  • jQuery Foundation
    • Join
    • Members
    • Team
    • Conduct
    • Brand Guide
    • Donate

jQuery API Documentation

  • Download
  • API Documentation
  • Blog
  • Plugins
  • Browser Support

Category: Ajax


The jQuery library has a full suite of Ajax capabilities. The functions and methods therein allow us to load data from the server without a browser page refresh.

Also in: Ajax > Global Ajax Event Handlers

.ajaxComplete()

Register a handler to be called when Ajax requests complete. This is an AjaxEvent.

Also in: Ajax > Global Ajax Event Handlers

.ajaxError()

Register a handler to be called when Ajax requests complete with an error. This is an Ajax Event.

Also in: Ajax > Global Ajax Event Handlers

.ajaxSend()

Attach a function to be executed before an Ajax request is sent. This is an Ajax Event.

Also in: Ajax > Global Ajax Event Handlers

.ajaxStart()

Register a handler to be called when the first Ajax request begins. This is an Ajax Event.

Also in: Ajax > Global Ajax Event Handlers

.ajaxStop()

Register a handler to be called when all Ajax requests have completed. This is an Ajax Event.

Also in: Ajax > Global Ajax Event Handlers

.ajaxSuccess()

Attach a function to be executed whenever an Ajax request completes successfully. This is an Ajax Event.

Also in: Ajax > Low-Level Interface

jQuery.ajax()

Perform an asynchronous HTTP (Ajax) request.

Also in: Ajax > Low-Level Interface

jQuery.ajaxPrefilter()

Handle custom Ajax options or modify existing options before each request is sent and before they are processed by $.ajax().

Also in: Ajax > Low-Level Interface

jQuery.ajaxSetup()

Set default values for future Ajax requests. Its use is not recommended.

Also in: Ajax > Low-Level Interface

jQuery.ajaxTransport()

Creates an object that handles the actual transmission of Ajax data.

Also in: Ajax > Shorthand Methods

jQuery.get()

Load data from the server using a HTTP GET request.

Also in: Ajax > Shorthand Methods

jQuery.getJSON()

Load JSON-encoded data from the server using a GET HTTP request.

Also in: Ajax > Shorthand Methods

jQuery.getScript()

Load a JavaScript file from the server using a GET HTTP request, then execute it.

Also in: Miscellaneous > Collection Manipulation | Forms | Ajax > Helper Functions

jQuery.param()

Create a serialized representation of an array, a plain object, or a jQuery object suitable for use in a URL query string or Ajax request. In case a jQuery object is passed, it should contain input elements with name/value properties.

Also in: Ajax > Shorthand Methods

jQuery.post()

Load data from the server using a HTTP POST request.

Also in: Ajax > Shorthand Methods

.load()

Load data from the server and place the returned HTML into the matched element.

Also in: Forms | Ajax > Helper Functions

.serialize()

Encode a set of form elements as a string for submission.

Also in: Forms | Ajax > Helper Functions

.serializeArray()

Encode a set of form elements as an array of names and values.

  • Ajax
    • Global Ajax Event Handlers
    • Helper Functions
    • Low-Level Interface
    • Shorthand Methods
  • Attributes
  • Callbacks Object
  • Core
  • CSS
  • Data
  • Deferred Object
  • Deprecated
    • Deprecated 1.3
    • Deprecated 1.7
    • Deprecated 1.8
    • Deprecated 1.9
    • Deprecated 1.10
  • Dimensions
  • Effects
    • Basics
    • Custom
    • Fading
    • Sliding
  • Events
    • Browser Events
    • Document Loading
    • Event Handler Attachment
    • Event Object
    • Form Events
    • Keyboard Events
    • Mouse Events
  • Forms
  • Internals
  • Manipulation
    • Class Attribute
    • Copying
    • DOM Insertion, Around
    • DOM Insertion, Inside
    • DOM Insertion, Outside
    • DOM Removal
    • DOM Replacement
    • General Attributes
    • Style Properties
  • Miscellaneous
    • Collection Manipulation
    • Data Storage
    • DOM Element Methods
    • Setup Methods
  • Offset
  • Properties
    • Properties of jQuery Object Instances
    • Properties of the Global jQuery Object
  • Removed
  • Selectors
    • Attribute
    • Basic
    • Basic Filter
    • Child Filter
    • Content Filter
    • Form
    • Hierarchy
    • jQuery Extensions
    • Visibility Filter
  • Traversing
    • Filtering
    • Miscellaneous Traversing
    • Tree Traversal
  • Utilities
  • Version
    • Version 1.0
    • Version 1.0.4
    • Version 1.1
    • Version 1.1.2
    • Version 1.1.3
    • Version 1.1.4
    • Version 1.2
    • Version 1.2.3
    • Version 1.2.6
    • Version 1.3
    • Version 1.4
    • Version 1.4.1
    • Version 1.4.2
    • Version 1.4.3
    • Version 1.4.4
    • Version 1.5
    • Version 1.5.1
    • Version 1.6
    • Version 1.7
    • Version 1.8
    • Version 1.9

Books

  • Learning jQuery 4th Edition by Karl Swedberg and Jonathan Chaffer Learning jQuery Fourth Edition Karl Swedberg and Jonathan Chaffer
  • jQuery in Action by Bear Bibeault, Yehuda Katz, and Aurelio De Rosa jQuery in Action Bear Bibeault, Yehuda Katz, and Aurelio De Rosa
  • jQuery Succinctly by Cody Lindley jQuery Succinctly Cody Lindley
  • Learning Center
  • Forum
  • API
  • Twitter
  • IRC
  • GitHub

Copyright 2016 The jQuery Foundation. jQuery License Web hosting by Media Temple | CDN by MaxCDN | Powered by WordPress | Thanks: Members, Sponsors