Welcome to WebmasterWorld Guest from 54.167.40.25

Forum Moderators: open

Message Too Old, No Replies

Prompt confirmation

     
1:06 pm on Sep 3, 2006 (gmt 0)

Junior Member

10+ Year Member

joined:Jan 28, 2005
posts:94
votes: 0


Hello!

Anybody have a script to make confirmation prompt for a link. I mean, when you click on the link, a prompt appears with 2 buttons, 'yes' and 'no'. If you click 'no' the prompt just disappears and nothing happens, but when you click 'yes' it will open the link.

But this script needs to able to be run easily for many links on the same page.

3:49 pm on Sept 3, 2006 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Sept 22, 2002
posts:1749
votes: 0


Maybe the standard confirm() dialogue will do?

<a href="page.html" onclick="return confirm('Proceed?');">link</a>
2:20 pm on Sept 16, 2006 (gmt 0)

Junior Member

10+ Year Member

joined:Jan 28, 2005
posts:94
votes: 0


Thanks for the tip ;)

All working fine now :)