EarthWeb
Developer.com
Site
windows 2000
visual c++
java
visual basic
javascripts
recommend it
 
Book
thinking in java
 
Interact
forum
guest book
jobs
jokes
what's new

share code
 
Resource
add resource
modify resource
new resource
 

[Internet Jobs]
-----
Java by E-mail:

Get the weekly e-mail highlights on Java!
-----

-

Call javascript from HREF


Author: Real Gagnon
Author's WebSite: http://tactika.com/realhome/realhome.html

Method 1

If Javascript is disabled then an error is displayed...

 <A HREF="javascript:myFunction()">
     Click here for Javascript action!</A>    




Method 2

If Javascript is disabled then a special page is displayed to warn the user...

 <A HREF="nojavascripthere.html" 
    onClick="myFunction(); return false">
       Click here for Javascript action!
 </A>    



Posted On: 10-Jul-1999

internet.commerce



Acceptable Use Policy

internet.comMediabistrojusttechjobs.comGraphics.com

WebMediaBrands Corporate Info


Advertise | Newsletters | Feedback | Submit News

Legal Notices | Licensing | Permissions | Privacy Policy