Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to put confirmation in links.

 
Gerard Largosa
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64843
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Javascript has a built-in confirm() method you can use.
 
Gerard Largosa
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, works great.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic