CSS选择器:
1标签选择器:$("div");
2:ID选择器:$("#id");
3类型选择器:$(".class");
4通用选择器:$("*");
5群组选择器:$("selector1,selector2,selector3");
层级选择器:
1子元素选择器:$("form>input");匹配表单中所有的子级元素;
2后代元素选择器:$("ancestor descendant");用于在给定的元素匹配所有的后代元素
3紧邻同辈元素选择器:$("prev+next");用于紧接在prev的next元素
4相邻同辈元素选择器:$("prev-sibling");选择某个元素后面的所有元素
表单选择器
1::input选择器
2 :text选择器
3:password选择器
4 :radio选择器
5::checkbox选择器
6:file选择器
7 image选择器
8:hidden选择器
9 button选择器
10 sumbit选择器
11 reset选择器