Executing a function before redirecting from Anchor tag – Jquery
I want to execute a jQuery function before redirecting after clicking on a tag, below is my code. The problem is that it only redirects and the jQuery post is not executed. <script> function insert(mobno) { $.post("verification_back.php", {'mobno': mobno}, function(data)…