wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes How to put confirmation in links. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "How to put confirmation in links." Watch "How to put confirmation in links." New topic
Author

How to put confirmation in links.

Gerard Largosa
Greenhorn

Joined: Jul 11, 2006
Posts: 12
Basically I want to put a Yes, No confirmations on some links on the page. So some links will link directly but some will need a confirmation(Yes/No) from user before proceeding. Is this possible? I have looked around, but have not yet found any solution. Thanks for the suggestions.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60752
    
  65

Javascript has a built-in confirm() method you can use.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Gerard Largosa
Greenhorn

Joined: Jul 11, 2006
Posts: 12
Thanks, works great.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to put confirmation in links.
 
Similar Threads
how to add a confirmation to user? -urgent
about logo
Applet and targeting frames
How to take out confirmations
Prototype and Scriptaculous