acidglitter Posted September 23, 2007 Share Posted September 23, 2007 How do you do those small confirmation pop-ups? I'm making a web application, and if you click the "Delete" link, it will just get deleted. So in case its accidently clicked on I want to have a small javascript confirmation thing pop up saying "Do you really want to delete this?" and if you click Yes it will continue to the link.. if that made sense.. Quote Link to comment Share on other sites More sharing options...
emehrkay Posted September 23, 2007 Share Posted September 23, 2007 javascript confirmation var conf = confirm('your question'); if(conf){ //do somehting } 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.