Answers for "html checkbox call javascript function"

8

dom check a checkbox

document.getElementById("myCheck").checked = true;
Posted by: Guest on March-01-2021
2

javascript check checkbox programmatically

// Check
document.getElementById("checkbox").checked = true;

// Uncheck
document.getElementById("checkbox").checked = false;
Posted by: Guest on September-12-2020

Code answers related to "html checkbox call javascript function"

Code answers related to "Javascript"

Browse Popular Code Answers by Language