jquery input value is empty code example
Example 1: empty the value of an input in jquery
$('#field').val('');
Example 2: jquery select input with empty value
$('input:text').filter(function() { return $(this).val() == ""; });
$('#field').val('');
$('input:text').filter(function() { return $(this).val() == ""; });