I am sending an ajax request to a php file as shown here:
function checkDB(code, userid) { $.ajax({ type: \"POST\", url: \"
Try this code... it is working for me ...