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 called chaining?
Explain slidetoggle() effect.
Why we need jquery mobile? : jquery mobile
How to multiple AJAX requests be run simultaneously in jQuery?
Is vanilla js faster than jquery?
How jQuery selectors are executed?
Is jQuery replacement of Java Script?
What is jquery selectors? Give some examples.
Jumping off of jquery ui for a second, do you 'release early, release often' with all of your projects? What are your thoughts on that strategy?
How does the jQuery pushStack function work?
Can you use multiple document.ready() function on the same page?
Explain url paremeter of jquery ajax method?