I have seen many articles for making ajax requests..
most of them are using $.AJAX
for jquery ajax posting and some of them are using $.POST
for jquery ajax posting...
I want to know what is the best way if I want to post using ajax? which method makes the ajax request fast and in lightweight?
$.post
is short-hand method for equivalent$.ajax
that is set up forPOST
. They won't have any difference. – nhahtdh