Skip to main content

Bug Tracker

Side navigation

#11339 closed bug (invalid)

Opened February 13, 2012 04:53PM UTC

Closed February 13, 2012 09:44PM UTC

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 />).

Attachments (0)
Change History (2)

Changed February 13, 2012 05:00PM UTC by Beanow <beanow@project-virality.com> comment:1

My mistake. In jsFiddle this does not occur.

There's bound to be a conflicting event.

Changed February 13, 2012 09:44PM UTC by timmywil comment:2

component: unfiledattributes
priority: undecidedlow
resolution: → invalid
status: newclosed

Closing per OP investigation.