In Jquery Ajax ,Can we get response value as corresponding function return value
checkSucess = function() { // Jquery Ajax with url,params and response doPost('sucess.php', 'first=' + first, function(response) { }); return response;// 'response' here is the value of response How to return ajax response value of a function ,which is called from other function