how to set value null in html file jquery code example Example: empty the value of an input in jquery $('#field').val('');