4 Answers
New AnswerIf you're using HTML and JavaScript, the form has a reset method. function onSubmit() { document.getElementById("myForm").reset(); } Else create a function that sets the text of each field to an empty string.
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message