What are various methods to make ajax request in jQuery?
Answer / chaitanya
Using below jQuery methods, you can make ajax calls.
load() : Load a piece of html into a container DOM
$.getJSON(): Load JSON with GET method.
$.getScript(): Load a JavaScript file.
$.get(): Use to make a GET call and play extensively with the response.
$.post(): Use to make a POST call and don't want to load the response to some container DOM.
$.ajax(): Use this to do something on XHR failures, or to specify ajax options (e.g. cache: true) on the fly.
Is This Answer Correct ? | 0 Yes | 0 No |
Do we need to add the jquery file both at the master page and content page as well?
Can you call C# code-behind method using jQuery? If yes,then how?
Name some of the methods of jquery used to provide effects?
How to use css() in jquery?
What is the difference between prop and attr?
What are the various ajax functions available in jquery ?
How to add and remove css classes to an element using ?
Differences Between jQuery .bind() and .live()?
What is the difference between text() and html() in jquery?
What is the jQuery code to select all links inside the paragraph?
Please tell us that is jquery knockkout intended to compete with jquery or prototype or work with it?
How can we apply css in even childs of parent node using jquery library?