jquery selector checkbox

$("#competencyList input:checkbox").on("click", function () {
var checkedCompetency = $("#competencyList input:checked")
$.each(checkedCompetency, function (index, value) {
alert(checkedCompetency[index].value);
});
});
上一篇:从零开始,DIY一个jQuery(2)


下一篇:jQuery selector 选择器