php - Send AJAX on click, but still go to URL of href -
I am trying the following:
When a user clicks on a link, The column of a specific table in the database through a specific agenda but I still want the user to I tried the false code returned without I tried to return Thank you in advance for your help. Make your AJAX call, then href = "
; but then AJAX does not work.
return; Lake Neither the page clearly redirects to the URL as I wanted.
set the document .location when done.
$ ('a'). (Function (e) e.preventDefault (); // $ .aex ({url: '/ path / to / site', from data: {anything: {some: data from {var href = this.href; // get href link} }, Success: function () {add document.location = href; // redirect browser}}); });
Comments
Post a Comment