Home > Web Front-end > JS Tutorial > jQuery prev ~ Introduction to using siblings selector_jquery

jQuery prev ~ Introduction to using siblings selector_jquery

WBOY
Release: 2016-05-16 17:26:05
Original
1218 people have browsed it

1. prev ~ siblings: matches all siblings elements after the prev element
2.
(1) prev: any valid selector
(2) siblings: a selector, and it serves as the first selection Siblings of the device
3. Example
(1) Source code
siblings.html

Copy code The code is as follows :





prev ~ siblings selector












Remember password




(2) The results are displayed as follows
jQuery prev ~ Introduction to using siblings selector_jquery
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template