Answers for "how to clear a form once its submitted jquery"

0

CLEAR FORM using jquery

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

clear form input data using jquery

<script>
  $(document).ready(function() {
  $( "#buttonId" ).click(function() {
    $(':input','#formId')

.not(':button, :submit, :reset, :hidden')

.val('')

.prop('checked', false)

.prop('selected', false);
});
});
</script>
Posted by: Guest on August-08-2021

Code answers related to "how to clear a form once its submitted jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language