Clear the form field after successful submission of php form

后端 未结 12 1727
春和景丽
春和景丽 2020-12-16 06:10

I am making a simple Form the problem i am facing is when i submit the form values still remains in the field. and I want to clear it after SUCCESSFUL submission. Please hel

12条回答
  •  执念已碎
    2020-12-16 07:14

    If you want your form's field clear, you must only add a delay in the onClick event like:

    By clearform(), I mean your clearing-fields function.

提交回复
热议问题