emptying value in html form text fields jquery code example Example: empty the value of an input in jquery $('#field').val('');