Bug Tracker

Opened 7 years ago

Closed 7 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:

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 (2)

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

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

comment:2 Changed 7 years ago by timmywil

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

Closing per OP investigation.

Note: See TracTickets for help on using tickets.