Page Reloads Before AJAX Request Finishes
Please do not put this code into production OK. So there are many things wrong with the code that need fixing before we can even begin to answer your question. Firstly we’re using $_REQUEST without good reason — $_REQUEST gives us access to all of the information sent in the request, which means that $_POST[‘foo’] … Read more