Jquery Ajax not submitting to PHP page
I have the below codes but anytime I run it, the data is not sent to the PHP file. Here is the ajax code: $.ajax({ type: "POST", url: "api/tired.php", data: { username: username }, success: function (data) { $("#msg").html(data); },…