0
Como borrar los campos del formulario
hi guys and girls i need some help. I am stranded in a code with javascript. All I want is to create a function that allows me to delete all the fields in the form. I know that if I put an input button with the reset attribute this will erase all the fields of the form but I want to create my own function that cleans all the input fields. https://code.sololearn.com/WU8hm25qJSbO/?ref=app
1 Resposta
+ 1
HTMLFormElement.elements
https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/elements
This should help with what you are trying to do.