Hacker News new | ask | show | jobs
by yscodes 1114 days ago
I like your change. Much clearer.

Makes me more interested than the current syntax.

1 comments

Your opinion is totally valid. However, is it really difficult or tricky to recognize that 'click' the default event of a 'button' tag? Isn't 'onclick=' kind of redundant?
we don't specify "click" on anchors or "submit" on forms, do we?