Reputation: 135
How can I remove the dropdown selections after my function stores into local storage. Please see my fiddle: http://jsfiddle.net/3u7Xj/139/
I already have this for the other elements:
var $form = $("#formID");
$form.find('input:text, input:password, input:file, select, textarea').val('');
$form.find('input:radio, input:checkbox')
.removeAttr('checked').removeAttr('selected');
Upvotes: 0
Views: 31
Reputation: 2145
Add:
$form.find(".multiselect").multiselect('uncheckAll');
I updated your fiddle: http://jsfiddle.net/3u7Xj/140/
Upvotes: 1