onClick is the most popular way to link to JavaScript calls, people sometimes link this way too..

Code: HTML
<a href='javascript:myFunc();'>Call myFunc</a>