jquery选择器之属性过滤选择器详解

2020-05-22 17:10:40易采站长站整理

$(“input[id][name$=’ball’]”).attr(“checked”,true);  //找到所有含有 id属性,并且它的 name属性是以 ball结尾的