how to make input type text value is empty in jquery code example Example: empty the value of an input in jquery $('#field').val('');