i want to clear the fields of my form after the user has inserted the data in the database .I have provided a button for that but how to do that please tell me
Thanks Ritz
i want to clear the fields of my form after the user has inserted the data in the database .I have provided a button for that but how to do that please tell me
Thanks Ritz
<input type='reset' id='btnResetFields' value='Clear Fields' />
sets the form elements back to their initial state when the form was first loaded. [Web Application]
If it is a web application you can use reset button:
<input type="reset" value="Reset values" />