File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "popup message" Watch "popup message" New topic

popup message

Kavitha hebbar

Joined: Sep 12, 2012
Posts: 9

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).

confirm method shows Yes/Cancel , if you want to show Yes/No. then I think you have to look at jquery
I agree. Here's the link:
subject: popup message
It's not a secret anymore!