kristinac13
Programmer
I have links that are dynamically placed on my page. At the moment, when the links are clicked the page goes to that link. I have changed the code so a confirm dialog comes up first saying "Are you sure you want to leave this page?" to give me a chance to reset some session variables. The problem is, once the user says "OK", I cannot figure out how to tell the page to go on to the link that was selected. I can't hard code the link as there are 7 dynamically created links that all require the confirm box. Is there a way to say "if (confirm) then go ahead and go where you were going?" lol. Any suggestions would be appreciated thanks....