Select all <p> elements that are siblings of the <div> element:
The ("element ~ siblings") selector selects all elements that are siblings of the specified "element".
For example:
Note: Both of the specified elements must share the same parent.
| Parameter | Description |
|---|---|
| element | Required. Any valid jQuery selector |
| siblings | Required. Specifies the siblings of the element paremeter |
Your message has been sent to W3Schools.