Answers for "how to trigger a clear event on a form jquery"

2

jquery clear form values

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

CLEAR FORM using jquery

/*if form id is mkform */
 $('#mkform')[0].reset();
Posted by: Guest on June-10-2021

Code answers related to "how to trigger a clear event on a form jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language