Hi all:
Seems this should be a simple answer, but a bit of googleing hasn't turned up what I need.
I have a link on a menu page that leads to a script to deactivate an entry in the db. When the user clicks the link I want a JS confirmation dialogue to pop up and if the user click yes they will go to the next page (deactivate script) and if they click no nothing will happen.
I guess it would also be acceptable to put the confirmation on the deactivate page and if the user hit yes go ahead and run the script and if they hit no send them history.back.
Any help appreciated.