I need to call a java script function when the user clicks and got two different approaches. They assumes to perform the same thing, except you get more information when hovering the link using primary way.
1. What's the effective difference between these two method ?
2. Should I be using one method over the other?
Method 1:
<a href="javascript: ShowMovie('/media/showmovie.htm?movie=ds_tutorial.swf', 720, 580);" class="linkTitle">
Method 2:
<a href="javascript: void(0);" onclick="javascript: ShowMovie('/media/showmovie.htm?movie=ds_tutorial.swf', 720, 580);return false;" class="linkTitle">
Bookmarks