| 6032 | |
| 6033 | // Fix IE bugs, see support tests |
| 6034 | function fixInput( src, dest ) { |
| 6035 | var nodeName = dest.nodeName.toLowerCase(); |
| 6036 | |
| 6037 | // Fails to persist the checked state of a cloned checkbox or radio button. |
| 6038 | if ( nodeName === "input" && rcheckableType.test( src.type ) ) { |
| 6039 | dest.checked = src.checked; |
| 6040 | |
| 6041 | // Fails to return the selected option to the default selected state when cloning options |
| 6042 | } else if ( nodeName === "input" || nodeName === "textarea" ) { |
| 6043 | dest.defaultValue = src.defaultValue; |
| 6044 | } |
| 6045 | } |
| 6046 | |
| 6047 | function domManip( collection, args, callback, ignored ) { |
| 6048 | |