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.. Link to comment https://forums.phpfreaks.com/topic/70313-simple-code-help/ 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 } Link to comment https://forums.phpfreaks.com/topic/70313-simple-code-help/#findComment-353230 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.