Quick Answer
Delegated events attach to an ancestor and filter by a selector at event time: $("table").on("click", "td", fn). The event bubbles from td up to table; jQuery checks if event.target matches "td". Benefit: works for dynamically added td elements, requires only one listener regardless of how many tds exist.
Answer
Delegated events attach listener to parent: $('#parent').on('click', '.child', handler)
Benefits: • Better memory usage • Handles dynamically added elements
S
SugharaIQ Editorial Team
Verified Answer
This answer has been peer-reviewed by industry experts holding senior engineering roles to ensure technical accuracy and relevance for modern interview standards.