MCPcopy Index your code
hub / github.com/JsAaron/jQuery / fixDefaultChecked

Function fixDefaultChecked

1.7/manipulation.js:549–553  ·  view source on GitHub ↗
( elem )

Source from the content-addressed store, hash-verified

547
548// Used in clean, fixes the defaultChecked property
549function fixDefaultChecked( elem ) {
550 if ( elem.type === "checkbox" || elem.type === "radio" ) {
551 elem.defaultChecked = elem.checked;
552 }
553}
554// Finds all inputs and passes them to fixDefaultChecked
555function findInputs( elem ) {
556 var nodeName = ( elem.nodeName || "" ).toLowerCase();

Callers 1

findInputsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected