SyntaxFix
Write A Post
Hire A Developer
Questions
I usually go for
<a href="javascript:;" onclick="yourFunction()">Link description</a>
It's shorter than javascript:void(0) and does the same.