aspose file tools*
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 Spring in Action this week in the Spring 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: 61426
    
  67

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.