onclick a tag
snippet in html

onclick a tag

user6104

<a href='http://www.google.com' onclick='return check()'>check</a>

<script type='text/javascript'>
function check() {
    return false;
}
</script>

a tag onclick

user8822

<a href="javascript:show_more_menu();">More >>></a>