Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
culi
3 months ago
|
parent
|
context
|
favorite
| on:
Just use a button
there are plenty of other vanilla html elements that are clickable. <details>, <input type=[button|checkbox|radio|file|etc]>, <label>, <select>, etc
tln
3 months ago
[–]
True although the built-in click behavior is sufficient on these, ie you should not need to add onclick. Which should be for <button> and <a>
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: