摘要: prop 获取在匹配的元素集中的第一个元素的属性值。 attr(属性名 属性值) 设置属性 全选全部选 $("#sex").change(function(){ // $(":checkbox").attr("checked",true) var chk1=$(this).prop("checked 阅读全文
posted @ 2021-11-09 22:39 .Nice 阅读(45) 评论(0) 推荐(0)