input jquery clear code example Example 1: clear input jqueyr $('#inputButtonID').val(''); Example 2: clear input field jquery $('#shares').val('');