Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

clear input field data in jquery

$(document).ready(function() {
    $('input[type=text]').each(function() {
        $(this).val('');
    });
});?
Source by learningjquery.com #
 
PREVIOUS NEXT
Tagged: #clear #input #field #data #jquery
ADD COMMENT
Topic
Name
7+2 =