Course lesson
Use Type Reset to Reset Form State
You can use an element with the type "reset" within a form to reset a form on click. It's particularly useful when we don't want users to refresh a page in order to get back to an initial state.
- Duration
- 1 min
- Access
- Free
- Transcript
- Needs source
You can use an element with the type "reset" within a form to reset a form on click. It's particularly useful when we don't want users to refresh a page in order to get back to an initial state.