What is the Difference between onclick and href="javscript:function name ?
- by Shyju
Is there any difference between
1 : <a href="javascript:MyFunction()">Link1</a>
and
2 : <a href="#" onclick="MyFunction()">Link2</a>
?
Would one affect the page performance by any means ?