You can clear the input field by using $('#shares').val('');
More Related Contents:
- Why does the jquery change event not trigger when I set the value of a select using val()?
- jQuery ‘input’ event
- Full path from file input using jQuery
- jQuery – Detect value change on hidden input field
- jQuery – auto size text input (not textarea!) [duplicate]
- jquery input select all on focus
- How to add additional fields to form before submit?
- jQuery: Get the cursor position of text in input without browser specific code? [duplicate]
- How do I implement onchange of with jQuery?
- How to get input type using jquery?
- How can I make the HTML5 number field display trailing zeroes?
- What’s the difference between keyup, keydown, keypress and input events?
- Detect changed input text box
- How to check if all inputs are not empty with jQuery
- jQuery autocomplete for dynamically created inputs
- Find all unchecked checkboxes in jQuery
- jQuery change placeholder text color
- Force a checkbox to always submit, even when unchecked
- jquery get number from id
- How to change the element of another div by clicking and hovering on an element of a different div
- Hide/Show div on specific page with jquery
- jqGrid data stored in browser cache?
- $ versus jQuery
- jQuery dollar sign ($) as function argument?
- jQuery stopPropagation bubble down
- jquery array group by
- How to cancel navigation when user clicks a link ( element)?
- JQuery, Flot, valuelabels, center
- jQuery: check if element has CSS attribute
- Regex validation for numbers with comma separator