Answers for "how to reset form in ajax"

0

how to reset form after submit using jquery and ajax

$("#cform")[0].reset();
Posted by: Guest on April-19-2021
2

jquery clear form values

$(".reset").click(function() {
    $(this).closest('form').find("input[type=text], textarea").val("");
});
Posted by: Guest on April-03-2020

Browse Popular Code Answers by Language