CodeToFun
Learn Programming Free
Tutorials
Languages
Features
About
Sign In
Tutorials
Languages
Features
About
Sign In
Back
/
jQuery Next Adjacent Selector ("prev + next")
Only immediate next sibling matches (Try It)
Try It
Run
Reset
Save
Save to Google Drive
Sync with your Google account
Download HTML
Save to your device
Share
Full
HTML Code
Copy
immediate next only
Prev A
Immediate next
Later sibling
Prev B
Not a p — breaks chain
Not adjacent to Prev B
Lines:
0
| Characters:
0
Live Preview
Auto-refresh on Run