I have a bunch of select elements in a form with which I am using the Jquery Chosen plugin. How can I reset the form? The following does not work:
<input type="reset" />
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You’ll need to reset the value of the field, then trigger the
liszt:updatedevent on the input to get it to update, ive made a fiddle with a working example here.http://jsfiddle.net/VSpa3/3/
Since the release of chosen v1.0 the trigger is now called ‘chosen:updated’. Anyone using this new version needs to trigger the update using