KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Yesterday I was reading the jQuery docs for .on() where was stated: Avoid excessive use of document or document.body for delegated events on large documents But today, I was looking at this JSPERF and I notice a better performance when the click event is attached to the document. So right now, I'm confused. The performance tests speak against the docs?
Tags (comma-separated)
Save Edits
Cancel