defaultChecked
is the default state, checked
is the current state.
If you change defaultChecked
and then click <input type="reset">
, set the reset flag to the state specified in the defaultChecked
property.
If you change checked
, the state changes immediately.
source share