I have a function like shown below and it I am not able to return data value from the place I am calling the function.
function checkifRS(){
$.ajax({
url: 'someURL.php',
success: function(data) {
return data;
}
});
}
Any suggestions would be helpful...