The short answer is, you have to implement a callback like this:
function callback(response) { // Here you can do what ever you want with the response object. console.log(response);}$.ajax({ url: "...", success: callback});
The short answer is, you have to implement a callback like this:
function callback(response) { // Here you can do what ever you want with the response object. console.log(response);}$.ajax({ url: "...", success: callback});