jQuery Parent Method - .parent() Tutorial

Read the tutorial on YogiHosting »

1. jQuery Parent for a span element

Span

Span

2. jQuery Parent with filter for a span element

Span of parent with class 'first'

Span of parent with class 'second'