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? Link to comment https://forums.phpfreaks.com/topic/95870-confirm-window/ 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> Link to comment https://forums.phpfreaks.com/topic/95870-confirm-window/#findComment-490887 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.