Opened 14 years ago
Closed 14 years ago
#3716 closed bug (wontfix)
clone() on forms does not copy password input values in ie
Reported by: | bryanhart | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.3 |
Component: | core | Version: | 1.2.6 |
Keywords: | clone form password input | Cc: | bryanhart |
Blocked by: | Blocking: |
Description
In IE, after cloning a form, values for password inputs are not copied over. Works as expected in FF3 and Safari 3.
Example:
<form id='form'> <input name='password' type='password' value='xyz' /> </form> <script> alert($('#form').clone().find('[name=password]').val()); </script>
Change History (3)
comment:1 Changed 14 years ago by
Cc: | bryanhart added |
---|---|
Component: | unfilled → core |
Owner: | flesler deleted |
comment:2 Changed 14 years ago by
comment:3 Changed 14 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Cloning form element values along with a form is something we used to have in core but removed due to the immense overhead it had. The various browsers are not sure what to do with the cloned form element either. The implications are more than just skin deep.
Note: See
TracTickets for help on using
tickets.
This bug isn't specific to jQuery, it seems to be due to IE's DOM cloneNode operation: