The moose likes HTML, CSS and JavaScript and the fly likes popup message Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply 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>
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: popup message
 
Similar Threads
Popup unblocking
popup to confirm delete doesn't work on all situations
pop up in jsp
how to add a confirmation to user? -urgent
Struts 1.2 - Popup window displays the same data every time i click on the link