I am attempting the following:
When a user clicks a link, I want to update a specific column of a specific table in the database via ajax. BUT I still want the user to be redirected to the href="<url>" of the link.
I tried jQuery without return false; but then the ajax doesn’t work.
I tried with return false; but then the page obviously doesn’t redirect to the url as I wanted.
Thanks in advance for your help.
Do your AJAX call, then set
document.locationwhen done.