Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery clear form values

$(".reset").click(function() {
    $(this).closest('form').find("input[type=text], textarea").val("");
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jquery #clear #form #values
ADD COMMENT
Topic
Name
3+5 =