How can I refresh a form JQuery
Do you have this?
<form id="form">.....</form>If you do, it should work. $("#form")[0].reset(); If you don't have an "id" for your form tag, you should use
<form>.....</form>
$("form")[0].reset();
Do you have this?
<form id="form">.....</form>If you do, it should work. $("#form")[0].reset(); If you don't have an "id" for your form tag, you should use
<form>.....</form>
$("form")[0].reset();
Comments
Post a Comment