Html() is not outputting Checked attribute
|Reported by:||iainjmitchell@…||Owned by:|
I'm not sure whether this is intended behaviour for some cross browser reason. But when you call .html() on an element that contains a checkbox with it's checked attribute set to true, the resulting html does not contain the checked setting.
See code example in link below: http://jsfiddle.net/mNvYG/
I would have expected the second alert to display '<input type="checkbox" checked>'
Change History (9)
comment:1 follow-up: ↓ 3 Changed 6 years ago by snover
- Resolution set to invalid
- Status changed from new to closed
comment:8 in reply to: ↑ 7 ; follow-up: ↓ 9 Changed 6 years ago by timmywil
- Component changed from unfiled to manipulation
- Priority changed from undecided to low