empty an input field with jquery code example Example: clear input field jquery $('#shares').val('');