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!! Quote 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 } Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.