| 5849 | |
| 5850 | // Fix IE bugs, see support tests |
| 5851 | function fixInput( src, dest ) { |
| 5852 | var nodeName = dest.nodeName.toLowerCase(); |
| 5853 | |
| 5854 | // Fails to persist the checked state of a cloned checkbox or radio button. |
| 5855 | if ( nodeName === "input" && rcheckableType.test( src.type ) ) { |
| 5856 | dest.checked = src.checked; |
| 5857 | |
| 5858 | // Fails to return the selected option to the default selected state when cloning options |
| 5859 | } else if ( nodeName === "input" || nodeName === "textarea" ) { |
| 5860 | dest.defaultValue = src.defaultValue; |
| 5861 | } |
| 5862 | } |
| 5863 | |
| 5864 | function domManip( collection, args, callback, ignored ) { |
| 5865 | |