What are various methods to make ajax request in jQuery

Answer

 Using below jQuery methods, you can make ajax calls.
1-load() : Load a piece of html into a container DOM

2-$.getJSON(): Load JSON with GET method.

3-$.getScript(): Load a JavaScript file.

4- $.get(): Use to make a GET call and play extensively with the response.

5- $.post(): Use to make a POST call and don't want to load the response to some container DOM.

6- $.ajax(): Use this to do something on XHR failures, or to specify ajax options (e.g. cache: true) on the fly.

All JQUERY Questions

Ask your interview questions on jquery

Write Your comment or Questions if you want the answers on jquery from jquery Experts
Name* :
Email Id* :
Mob no* :
Question
Or
Comment* :
 





Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---