Answer
Filtering methods:
• .filter() – return elements matching condition
• .not() – exclude elements
• .first(), .last(), .eq(index) – specific element filtering
Useful for precise DOM selection.
• .filter() – return elements matching condition
• .not() – exclude elements
• .first(), .last(), .eq(index) – specific element filtering
Useful for precise DOM selection.