Answers for "how to clear all the fields in a form with jquery except"

1

how To clear all the input element inside div using jquery

By LOVE
$('#divStaffContent').find('input:text, input:password, select')
                    .each(function () {
                        $(this).val('');
                    });
                }
Posted by: Guest on May-07-2020
2

jquery clear form values

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

Code answers related to "how to clear all the fields in a form with jquery except"

Code answers related to "Javascript"

Browse Popular Code Answers by Language