libsfan01 said the following on 7/29/2006 3:40 PM:
hi all can someone show me a quick function to make an alert display
before a hyperlink takes you through to the target page
Do I get credit for your homework as well?
<a href="http://www.google.com/" onclick="alert('This is an annoying
alert that you will get before being navigated to Google, but you will
only see this alert if you have scripting enabled and there are no
script errors in the page.">Google</a>
All on one line.
--
Randy
comp.lang.javascript FAQ -
http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices -
http://www.JavascriptToolbox.com/bestpractices/