本文共 962 字,大约阅读时间需要 3 分钟。
a: 基本选择器: 5
b: 层级选择器: 4可见选择器:
Value 2 |
Value 3 |
属性选择器:
Hello!
子元素选择器
表单选择器:
表单属性选择器:
text();
html(); 文本:带标签: val(); value属性: 可以使用该方法: css(); attr(); addClass(); each(); size();获得个数: length:$对象,数组的长度。数组的遍历:
下面是一堆API方法的使用例子:
转载地址:http://vgmen.baihongyu.com/