clone(events) method loses defaultValue on IE
|Reported by:||mikesamuel||Owned by:||flesler|
http://docs.jquery.com/Manipulation/clone repairs problems with Node.cloneNode().
But some information not visible via innerHTML is lost.
The attached file should show original. value=changed original.defaultValue=initial
clone. value=changed clone.defaultValue=initial
but on IE6 shows
original. value=changed original.defaultValue=initial
clone. value=changed clone.defaultValue=changed
This likely also a problem for defaultSelected and defaultChecked. To test this in practice, create a form, change the contents of text input, click radio buttons, checkboxes, and select lists. Then close the form. If the bug is fixed, reset()ing the original and clone should return them to a similar state.
Change History (6)
Changed 7 years ago by mikesamuel
comment:4 Changed 5 years ago by snover
- Resolution set to duplicate
- Status changed from new to closed