Welcome to WebmasterWorld Guest from 54.196.144.100

Forum Moderators: open

Message Too Old, No Replies

Prompt confirmation

     

Gero_Master

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

10+ Year Member



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.

RonPK

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

WebmasterWorld Senior Member 10+ Year Member



Maybe the standard confirm() dialogue will do?

<a href="page.html" onclick="return confirm('Proceed?');">link</a>

Gero_Master

2:20 pm on Sep 16, 2006 (gmt 0)

10+ Year Member



Thanks for the tip ;)

All working fine now :)