Dysan Posted March 12, 2008 Share Posted March 12, 2008 Hi, how do I display a confirm alert box, displaying an OK and CANCEL button? Upon the user clicking OK, how do I navigate to a different page? Upon the CANCEL button being clicked, how do I close the window/alert? Quote Link to comment Share on other sites More sharing options...
haku Posted March 12, 2008 Share Posted March 12, 2008 <a href="some_page.html" onclick="return confirm("proceed?")">link</a> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.