Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
edflsafoiewq
on April 2, 2020
|
parent
|
context
|
favorite
| on:
How to manage HTML DOM with vanilla JavaScript onl...
Another possible advantage for onevent properties is they work as soon as the element is loaded. Attaching event listeners normally has to wait for the whole DOM to be loaded. The difference probably isn't noticeable over a good connection.
Consider applying for YC's Fall 2026 batch!
Applications
are open till July 27.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: