Each one of these functions in turn calls jQuery's main
.ajax()
method. These are called "convenience methods" because they provide a
convenient interface and do some default configuration of the request
before calling .ajax()
.Let's look at the
.get()
and .post()
methods to see how they just call .ajax()
under the hood.
So we can make a request with
.ajax()
, but we haven't handled the response yet.
Really Nice post!! Very helpful.
ReplyDelete