Turning Learners Into Developers
Codekilla
CODEKILLA
back to course
Lesson 65 / 8775%
AJAX3/10

$.get() and $.post()

The classic shortcuts for GET and POST.

// $.ajax · build → send → server → parse → callback$.ajax()optionsXHR requestnetworkServer/api/itemsJSON responseparsed.done(fn)callback5xx / timeout.fail(fn)Every $.ajax returns a jqXHR — hang .done / .fail / .always off it.
Visual explanation diagram · click steps to walk through it

This lesson is Pro only.

Unlock every premium lesson and module — Pro from ₹299 / month (or ₹999 / year, saves ~₹2,589).

Sign in to unlock
// feedback.matters()
Did this lesson help you?