Click to See Complete Forum and Search --> : Alert message when clicking on link


florida
08-05-2003, 07:46 AM
I have a link where I want to put out an alert message saying link disabled when someone clicks on it. Please advise how I do this?

pyro
08-05-2003, 07:51 AM
Not sure what use that will be... seems uses will find it annoying, but...

<a href="#" onclick="alert('Link disabled'); return false;">Click here for an annoying alert</a>

florida
08-05-2003, 08:01 AM
Thanks Pyro!

pyro
08-05-2003, 08:15 AM
You're welcome... :)