Answers for "checking checkbox value check or not"

3

jquery check if checkbox is checked

if($('#on_or_off_checkbox').is(':checked')){
    //I am checked
}
Posted by: Guest on August-27-2020
0

how to check if input is checked javascript

const cb = document.getElementById('accept');
console.log(cb.checked);
Posted by: Guest on July-17-2020

Code answers related to "checking checkbox value check or not"

Code answers related to "Javascript"

Browse Popular Code Answers by Language