Intro to jquery ajax

Home » Tutorials » JavaScript » Intro to jquery ajax
In this lesson we’ll begin to consider ajax jquery. We’ll consider five useful functions , most of it are special cases of ajax method. Ajax method will be considered in next lesson.
Shortly about considered methods:

  1. jQuery.get (https://api.jquery.com/jquery.get/) – this method send HTTP GET request.
  2. jQuery.post (https://api.jquery.com/jquery.post/) – this method send HTTP POST request.
  3. jQuery.getJSON (https://api.jquery.com/jquery.getJSON/) – this method loads JSON data from the server with GET HTTP method
  4. jQuery.parseJSON (https://api.jquery.com/jquery.parseJSON/) – takes JSON string and returns javascript value(string/number/object/boolean). If you use jquery version 3, you must notice,
    this method is deprecated from this jquery version.
  5. jQuery.parseXML (https://api.jquery.com/jquery.parseXML/) – parses xml string and returns xml document

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.

Pin It on Pinterest

Share This