I have few div
and ul
elements which has several checkboxes inside. I need to uncheck those for some selected div
and ul
.
I tried something like this which works only for .cd-filter-content-alt
,
$('.margin_float_metric, .cd-filter-content-alt input[type=checkbox]').prop('checked', false);
I know that we can use it separately to uncheck. But for some reasons i need those inside a single line.
Something like we have for click,
$('#buttonA, #buttonB, #buttonC').click(function (e) {
});
Any possibilities?