Category: Interview Questions
-
event delegation in jQuery?
Event delegation means attaching an event to a parent element so that future child elements also inherit it. Example: Useful when elements are added dynamically.
-
What is chaining in jQuery?
Chaining means calling multiple methods on the same element in one line. Improves performance and readability.