K
K
krispey1022021-06-16 16:25:51
HTML
krispey102, 2021-06-16 16:25:51

Html how not to clear fields on form submission?

There is a form, if a person filled in the fields and clicked "send" - then the form clears the fields, how to make the fields remain the same after sending as they were before sending?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir, 2021-06-16
@HistoryART

<form onSubmit="(e) => e.preventDefault()"/>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question