SyntaxFix
Write A Post
Hire A Developer
Questions
since you are using jquery library, i would advise you utilize the reset() method.
jquery
reset()
Firstly, add an id attribute to the form tag
<form id='myForm'>
Then on completion, clear your input fields as:
$('#myForm')[0].reset();