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

    Note that setting the checked content attribute (as opposed to the IDL attribute set with Javascript) to a non-empty string, the checkbox is checked. So if you set the 'checked' content …

  2. How can I check if a checkbox is checked? - Stack Overflow

    Learn how to check if a checkbox is checked using JavaScript and jQuery on Stack Overflow.

  3. How do I determine if a checkbox is checked? - Stack Overflow

    Jan 21, 2011 · For some reason, my form does not want to get the value of a checkbox... I am not sure if it is my coding or not, but when I try and alert() the value, I get undefined as a result. …

  4. Javascript to check whether a checkbox is being checked or …

    Jul 10, 2014 · 31 I have a javascript routine that is performing actions on a group of checkboxes, but the final action I want to set the clicked checkbox to checked or unchecked based on if the …

  5. How to check if checkbox is checked in Javascript

    Mar 9, 2017 · I need to make 5 checkbox which all have a value, going from 1 to 5, I need to print out in a textbox the value when I check one, I can uncheck the boxes and the number …

  6. html - Simple JavaScript Checkbox Validation - Stack Overflow

    @KickingLettuce: !this.form.checkbox.checked is false if the checkbox is UNchecked (because of the ! operator). If you want a different alert to show when the checkbox is checked, you could …

  7. Making sure at least one checkbox is checked - Stack Overflow

    Aug 3, 2012 · I have a form with multiple checkboxes and I want to use JavaScript to make sure at least one is checked. This is what I have right now but no matter what is chosen an alert pops …

  8. Change/Get check state of CheckBox - Stack Overflow

    I just want to get/change value of CheckBox with JavaScript. Not that I cannot use jQuery for this. I've tried something like this but it won't work. JavaScript function function checkAddress...

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

    Jul 22, 2012 · This does not answer the question, but can be used to determine whether or not a checkbox is checked. +1 since it still helped me out.

  10. If checkbox is checked condition Javascript - Stack Overflow

    May 21, 2018 · But, there is no need to check if a checkbox is checked. Just query the document for only checked checkboxes and whatever is returned is what you work with. .querySelector() …