Top "Checkbox" questions

A checkbox is a graphical user interface element that permits the user to make a binary selection.

How do I check whether a checkbox is checked in jQuery?

I need to check the checked property of a checkbox and perform an action based on the checked property using …

javascript jquery html checkbox
Setting "checked" for a checkbox with jQuery

I'd like to do something like this to tick a checkbox using jQuery: $(".myCheckBox").checked(true); or $(".myCheckBox").selected(true); …

javascript jquery checkbox selected checked
Check if checkbox is checked with jQuery

How can I check if a checkbox in a checkbox array is checked using the id of the checkbox array? …

javascript jquery html checkbox
How to style a checkbox using CSS

I am trying to style a checkbox using the following: But the style is not applied. The checkbox still displays …

html css checkbox
jQuery checkbox change and click event

Here .change() updates the textbox value with the checkbox status. I use .click() to confirm the action on uncheck. If …

javascript jquery checkbox event-handling
Get checkbox value in jQuery

How can I get a checkbox's value in jQuery?

jquery html forms checkbox
Check/Uncheck checkbox with JavaScript (jQuery or vanilla)?

How can a checkbox be checked/unchecked using JavaScript, jQuery or vanilla?

javascript jquery checkbox
jQuery if checkbox is checked

I have a function below that I want to only trigger when a checkbox in the same tr is checked. …

jquery checkbox if-statement
jQuery set checkbox checked

I already tried all the possible ways, but I still didn't get it working. I have a modal window with …

jquery checkbox
Can HTML checkboxes be set to readonly?

I thought they could be, but as I'm not putting my money where my mouth was (so to speak) setting …

html checkbox