Two Laptop Bag*
The moose likes HTML, CSS and JavaScript and the fly likes popup message Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "popup message" Watch "popup message" New topic
Author

popup message

Kavitha hebbar
Greenhorn

Joined: Sep 12, 2012
Posts: 9
Hi,

I have a jsp page where i have given hyperlink to delete saying Delete profile.When i click that one popup window should come saying do you really want to deletea having yes and no buttons.How it is possible in jsp?
Please suggest me.
Thank you.
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

you can use javascript for this. when user click the link call javascript function and use confirm method(just google for detail).

<edit>
confirm method shows Yes/Cancel , if you want to show Yes/No. then I think you have to look at jquery
</edit>
 
 
subject: popup message
 
Similar Threads
Struts 1.2 - Popup window displays the same data every time i click on the link
how to add a confirmation to user? -urgent
Popup unblocking
popup to confirm delete doesn't work on all situations
pop up in jsp