Answers for "iterate over all check box in a div"

0

iterate over all check box in a div

function calculate() {
    $('#payments').find('.checkBoxP').each(function () {
        if (this.checked) {
            alert('its on');
        } else {
            alert('nope');
        }
    });
}
Posted by: Guest on April-16-2021

Code answers related to "iterate over all check box in a div"

Browse Popular Code Answers by Language