Bug Tracker

Opened 12 years ago

Closed 12 years ago

#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:
Blocked by: Blocking:


The checkbox fields do not retain the value attribute. This is done throughout the core. Tried:
$(':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 (2)

comment:1 Changed 12 years ago by Beanow <beanow@…>

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

comment:2 Changed 12 years ago by Timmy Willison

Component: unfiledattributes
Priority: undecidedlow
Resolution: invalid
Status: newclosed

Closing per OP investigation.

Note: See TracTickets for help on using tickets.