Answers for "js checkbox button"

11

javascript check uncheck checkbox

document.getElementById("myCheckBoxID").checked = true; // Check
document.getElementById("myCheckBoxID").checked = false;// Uncheck
Posted by: Guest on August-02-2019
3

if checkbox is checked

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

Code answers related to "Javascript"

Browse Popular Code Answers by Language