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