4 ms·
1. Pollutes the DOM 2. Violates separation of concerns 3. Complicates maintainability 4. Events are bound directly to elements rather than bubbling and being
by bdg 15y ago
1. Pollutes the DOM
2. Violates separation of concerns
3. Complicates maintainability
4. Events are bound directly to elements rather than bubbling and being managed via delegation.
- mayanksinghal 15y agoI don't use use onclicks either but from the source of this page: onclick="return vote(this)"
- jonah 15y agoThis page uses tables too. [edit] my point was to not take this site as an example of best-practices...