摘要: 1、jquery的筛选器 筛选器:在选择器选择到的所有的基础上在选择一次 $(this).next() 下一个 $(this).prev() 上一个 $(this).parent() 父 $(this).children() 孩子 $('#i1').siblings() 兄弟 $('#i1').fi 阅读全文
posted @ 2020-04-06 17:38 凸凸yolotheway 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 1、使用prop方法 (1)$('#tb :checkbox').prop('checked'); 获取值 $('#tb :checkbox').prop('checked',true); 设置值 (2)jquery方法内置循环:$('#tb :checkbox').xxxx 例如 $('#tb : 阅读全文
posted @ 2020-04-06 12:00 凸凸yolotheway 阅读(130) 评论(0) 推荐(0) 编辑