Modify ↓
Ticket #11339 (closed bug: invalid)
Checkboxes do not retain value attribute
| Reported by: | Beanow | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | None |
| Component: | attributes | Version: | 1.7.1 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
The checkbox fields do not retain the value attribute.
This is done throughout the core.
Tried:
$(':checkbox').val('someval');
$(':checkbox').attr('value', 'someval');
$(element).html('<input type="checkbox" value="someval" />');
All of which results in a DOM where only they value key is added as a flag (<input type="checkbox" value />).
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

My mistake. In jsFiddle this does not occur. There's bound to be a conflicting event.