Top "Checkbox" questions

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

jQuery, checkboxes and .is(":checked")

When I bind a function to a checkbox element like: $("#myCheckbox").click( function() { alert($(this).is(":checked")); }); The checkbox changes …

jquery checkbox click ischecked
Radio/checkbox alignment in HTML/CSS

What is the cleanest way to align properly radio buttons / checkboxes with text? The only reliable solution which I have …

html css checkbox radio-button
How do I encode a JavaScript object as JSON?

Is there a good way to encode a JavaScript object as JSON? I have a list of key value pairs...…

javascript jquery json checkbox hashtable
How to handle checkboxes in ASP.NET MVC forms?

Caution: This question is over nine years old! Your best option is to search for newer questions, or to search …

asp.net-mvc forms checkbox
What is the proper way to check and uncheck a checkbox in HTML5?

Looked at the HTML spec, but couldn't make heads or tails of it: http://www.w3.org/TR/html5/the-input-element.…

html checkbox checked
Custom checkbox image android

Is there an easy way to use a custom image for a checkbox? I'm looking to duplicate the "starred" behavior …

android checkbox
Pure CSS checkbox image replacement

I've got a checkbox list in a table. (one of a number of CB's on the row) <tr>&…

css checkbox css-selectors
WPF checkbox binding

While it is trivial to store a checkbox's checked state in a variable using the checkbox's Click event, how would …

c# wpf xaml data-binding checkbox
React Checkbox not sending onChange

TLDR: Use defaultChecked instead of checked, working jsbin. Trying to setup a simple checkbox that will cross out its label …

checkbox onchange reactjs
How to change the background color on a input checkbox with css?

Hello Friends all I'm trying to do is change the background color of a checkbox. I tired many things but …

css html checkbox background-color