plainJS

Functions / Ajax

Ajax

Requests without a page load. 6 snippets.

  1. JSONP Ajax requests
  2. Load a script file asynchronously$.getScript()
  3. Making CORS Ajax GET requests$.ajax()
  4. Send Ajax GET and POST requests$.ajax(), $.get(), $.post(), $.getJSON()
  5. Serialize form data into a query string$.serialize()
  6. Serialize form data into an array$.serializeArray()

The other groups: