tinnumaverick Posted October 4, 2010 Share Posted October 4, 2010 I have a html form which calls a servlet when a submit button is clicked.Now,I want to display a CONFIRM FORM before calling the servlet. The form must call the servlet only if the OK button is clicked in the confirm form. Any suggestions please!! Link to comment https://forums.phpfreaks.com/topic/215098-display-confirm-form-before-calling-a-servlet/ Share on other sites More sharing options...
haku Posted October 4, 2010 Share Posted October 4, 2010 if(confirm("do you want to see the servelet?")) { // execute your servelet code here } Link to comment https://forums.phpfreaks.com/topic/215098-display-confirm-form-before-calling-a-servlet/#findComment-1118800 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.