Call javascript from HREFTag(s): Language
Method 1
If Javascript is disabled then an error is displayed...
<A HREF="javascript:myFunction()">
Click here for Javascript action!</A>
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>
mail_outline
Send comment, question or suggestion to howto@rgagnon.com
Send comment, question or suggestion to howto@rgagnon.com