How to call javascript from a href?
like:
<a href="<script type='text/javascript'>script code</script>/">Call JavaScript</a>
<a onClick="yourFunction(); return false;" href="fallback.html">One Way</a>
** Edit **From the flurry of comments, I'm sharing the resources given/found.
Previous SO Q and A's:
Interesting reads:
1.4m articles
1.4m replys
5 comments
57.0k users