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 |
What is jquery.holdready() function?
Explain the starting point of code execution in jquery? : jquery mobile
How can we apply css in even childs of parent node using jquery library?
Is jQuery a programming language?
Tell me can we have multiple document.ready() function on the same page? : jquery mobile
What is jquery.noconflict? Explain
Tell me how to write browser specific code using jquery? : jquery mobile
Can we select a element having a specific class in jquery ?
explain bind() vs live() vs delegate() methods in jquery
differentiate between bind() vs live() vs delegate() methods in jquery.
Does jQuery 2.0 supports IE?
What is event preventdefault () and event stoppropagation () in jquery?