SyntaxFix
Write A Post
Hire A Developer
Questions
I think you can use the onclick event, something like this:
onclick
<a onclick="jsFunction();">