Questions tagged [checkbox]

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

A checkbox is a graphical user interface element that permits the user to make a binary selection. Checkboxes are often shown on the screen as a square box that can contain white space (for false) or a tick mark or X (for true). A caption describing the meaning of the checkbox is normally shown adjacent to the checkbox. Inverting the state of a checkbox is done by clicking the mouse on the box, or the caption, or by using a keyboard shortcut, such as the space bar.

Source: http://en.wikipedia.org/wiki/Checkbox


Some applications optionally allow a third state of Null, usually indicated by a grayed-out appearance. A similar provision is often made for a new record which has no instantiated values.

Here is an example of HTML code to present a checkbox in a user-entry form:

<input type="checkbox" name="example" value="foo">foo
  • The checked attribute is a boolean attribute.
  • When present, it specifies that an element should be pre-selected (checked) when the page loads.
  • The checked attribute can be used with <input type="checkbox"> and <input type="radio">.
  • The checked attribute can also be set after the page load, with a JavaScript.
29830 questions
4
votes
4 answers

clearInterval() is not stopping setInterval() - Firefox Extension Development

I am working on a modification of tamper data that will allow me to send the HTTP request/responses it observes to a server. So far, that functionality has been implemented correctly. The next step is to automate this process, and I wish to use a…
Kotsu
  • 374
  • 1
  • 5
  • 22
4
votes
1 answer

Vuetify datatable select all with disabled checkboxes

I'm having an issue with datatables with select rows. I have rows which have the checkbox disabled, but the select all checks them anyway... Is this a bug? I made a codepen: https://codepen.io/slayerbleast/pen/jOWjzWJ How can I fix the selectAll…
Marc Pont
  • 988
  • 2
  • 14
  • 34
4
votes
5 answers

Sencha Touch checkboxfield has funky layout with long label

I've got long labels for a couple checkboxfields in my app, and unfortunately it causes some strange behavior. Is there any way to make this look a little better? I mean, if I 'touch' the gray area, the checkbox does not activate (even if the…
Chase Florell
  • 46,378
  • 57
  • 186
  • 376
4
votes
2 answers

jQuery change event is not working with checkbox