HI,
For a tag, you can execute javascript through href or onclick.
When should I use onclick instead of href?
for me, only advantage I get with oncli
Write unobtrusive JavaScript instead.