I have a form with several submitted. As soon as I submit the form, the data will be saved in the database and I will return to the same page. Now how to clear the fields in the form?
This is a location based app. When submitted, it performs some checks using a java script, then redirects to the same page. Now I have to get a new page. I mean, the fields must be cleared.
source
share