I’m trying to create a checkbox that controls the children checkboxes of a UL list… this works in jquery 1.4 but not in 1.72. What am I doing wrong here? I think its the selector but can’t figure it out.
$(".checkboxFilter input:checkbox").change(function () {
$(".checkboxFilter").find(':checkbox').prop("checked", this.checked);
});
:checkboxselector are deprecated, try using the$('[type=checkbox]')method