I have the following script for a confirm pop up message. I want it to redirect to a different page when user hits "Ok" and keep them on the same page if they hit "Cancel".
Currently its doing reverse for me. on hitting cancel it redirects me to a different page and "ok" keeps me on the same page.
any idea on what I need to change.