There are several ways to define click action on anchor tag like:
<a href="javascript: void(0)" onclick="funciton_X()">click here</a>
or
<a href="javascript: funciton_X()">click here</a>
or
<a id="a_tag" href="javascript: void(0)">click here</a>
<script type="text/javascript">
$('#a_tag').click(function(){})
</script>
Is there a significant difference which one will I use? What are their advantages and disadvantages. Is there a fourth option?