how to empty input field in jquery code example Example: clear input field jquery $('#shares').val('');