Answers for "how to check if a check box is checked"

3

if checkbox is checked

if ($('#id_input').is(':checked')) { }
Posted by: Guest on March-17-2020
1

jquery on checkbox checked es6

$("input[type='checkbox']").on('change', (e) => {
      console.log("Checked Value 'is' :: ", e.currentTarget.checked);
 })
Posted by: Guest on November-03-2020

Code answers related to "how to check if a check box is checked"

Code answers related to "Javascript"

Browse Popular Code Answers by Language