SyntaxStudy
Sign Up
Home jQuery Exercises jQuery AJAX

jQuery AJAX

Intermediate

Fill in the jQuery AJAX method and option names.

To make a simple GET request: $.(url, callback)

To make a POST request: $.(url, data, callback)

To make a full configurable request: $.({ url, method, data, success })

The callback for a successful response is the option.

The callback for an error response is the option.