Home > Article > Web Front-end > There are several selectors in jquery
jquery’s selectors include: 1. Basic selector [#id]; 2. Hierarchical selector [parent > child]; 3. Basic filter selector [:first]; 4. Form selection [:input]; 5. Form filter selector [:enabled].
The operating environment of this tutorial: windows7 system, jquery3.2.1 version, Dell G3 computer.
Recommended: jquery video tutorial
jquery selectors are:
a, basic selector: #id, class, element, *;
b, hierarchical selector: parent > child, prev next, prev ~ siblings
c, basic filter selector: :first, :last,: not, :even, :odd, :eq, :gt, :lt
d, form selector: :input, :text, :password, :radio, :checkbox, :submit, etc.;
e, form filter selector: :enabled, :disabled, :checked, :selected
Related free learning recommendations: javascript (video)
The above is the detailed content of There are several selectors in jquery. For more information, please follow other related articles on the PHP Chinese website!