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

Function fixDefaultChecked

1.6.1/src/manipulation.js:514–518  ·  view source on GitHub ↗
( elem )

Source from the content-addressed store, hash-verified

512
513// Used in clean, fixes the defaultChecked property
514function fixDefaultChecked( elem ) {
515 if ( elem.type === "checkbox" || elem.type === "radio" ) {
516 elem.defaultChecked = elem.checked;
517 }
518}
519// Finds all inputs and passes them to fixDefaultChecked
520function findInputs( elem ) {
521 if ( jQuery.nodeName( elem, "input" ) ) {

Callers 1

findInputsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected