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