Reputation: 1485
It seems that they are just similar and I am really confused when to perform an $.ajax() method or $.get() method or $.post() method in jQuery AJAX. It boggles me a lot to use $.ajax() that's why I just use $.post() always.
Upvotes: 0
Views: 76
Reputation: 67187
All are the same, they are asynchronous. $.get()
and $.post()
are the shorthand versions of $.ajax()
. These shorthand versions do not require any method specification. But while using $.ajax()
we have to specify the method of the call, post or get.
Upvotes: 1