Html() is not outputting Checked attribute
|Reported by:||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:8 follow-up: 9 Changed 6 years ago by
|Component:||unfiled → manipulation|
|Priority:||undecided → low|