code: function findInputs( elem ) {
  	var nodeName = ( elem.nodeName || "" ).toLowerCase();
  	if ( nodeName === "input" ) {
  		fixDefaultChecked( elem );
  	// Skip scripts, get other children
  	} else if ( nodeName !== "script" && typeof elem.getElementsByTagName !== "undefined" ) {
  		jQuery.grep( elem.getElementsByTagName("input"), fixDefaultChecked );
  	}
  }
docs: Finds all inputs and passes them to fixDefaultChecked