| 5196 | |
| 5197 | // Fix IE bugs, see support tests |
| 5198 | function fixInput( src, dest ) { |
| 5199 | var nodeName = dest.nodeName.toLowerCase(); |
| 5200 | |
| 5201 | // Fails to persist the checked state of a cloned checkbox or radio button. |
| 5202 | if ( nodeName === "input" && rcheckableType.test( src.type ) ) { |
| 5203 | dest.checked = src.checked; |
| 5204 | |
| 5205 | // Fails to return the selected option to the default selected state when cloning options |
| 5206 | } else if ( nodeName === "input" || nodeName === "textarea" ) { |
| 5207 | dest.defaultValue = src.defaultValue; |
| 5208 | } |
| 5209 | } |
| 5210 | |
| 5211 | function domManip( collection, args, callback, ignored ) { |
| 5212 | |