Question: when to use jquery ajax?
Answer: $. ajax() method allows you to send asynchronous http requests to submit or retrieve data from the server without reloading the whole page.
$. ajax() can be used to send http GET, POST, PUT, DELETE etc. ... 
Syntax: $. ... 
Use option parameter to customize ajax request as per your need.