About 7,640,000 results
Open links in new tab
  1. Check/Uncheck checkbox with JavaScript - Stack Overflow

    Nov 21, 2011 · JavaScript: // Check document.getElementById("checkbox").checked = true; // Uncheck document.getElementById("checkbox").checked = false; jQuery (1.6+): // Check …

  2. How TO - Display Text when Checkbox is Checked - W3Schools

    Check whether a checkbox is checked with JavaScript. Display some text when the checkbox is checked: Track your progress - it's free! Well organized and easy to understand Web building …

  3. JavaScript Checkbox - JavaScript Tutorial

    in this tutorial, you will learn how to use JavaScript to check if a checkbox is checked and how to get values of selected checkboxes.

  4. How to Check/Uncheck the checkbox using JavaScript

    Oct 21, 2024 · To check and uncheck the checkbox using JavaScript we can use the onclick event to toggle the checkbox value. We can also check or uncheck all the checkboxes on …

  5. How to Display Text When Checkbox Is Checked in JavaScript

    Feb 2, 2024 · This article introduces you to the different techniques to display text when the checkbox is checked in JavaScript. It also educates you about JavaScript and jQuery functions …

  6. javascript - Get the value of checked checkbox? - Stack Overflow

    Jul 24, 2015 · You could use following ways via jQuery or JavaScript to check whether checkbox is clicked. $('.messageCheckbox').is(":checked"); // jQuery …

  7. Using The HTML Checkbox & Managing The Check State With JavaScript

    Jan 9, 2021 · Checkboxes are used for instances where a user may wish to select multiple options, such as in the instance of a "check all that apply" question. HTML Checkboxes …

  8. How to Get Checkbox Values in JavaScript: A Complete Guide

    Dec 27, 2023 · This guide covered several key topics around getting checkbox values in JavaScript: querySelectorAll() – Get all checked boxes into an array; getElementById() – Get …

  9. HTML DOM Input Checkbox checked Property - W3Schools

    function check() { document.getElementById("myCheck").checked = true;} function uncheck() { document.getElementById("myCheck").checked = false;}

  10. How to Create Check Boxes in JavaScript for HTML5 and CSS3 …

    Check boxes fulfill another useful data input function in JavaScript for HTML5 and CSS3 programming. They're useful any time you have Boolean data. If some value can be true or …

  11. Some results have been removed