amir amir - 11 months ago 41
Javascript Question

how to unselect a select option box after some calculation is done

just wondering how it's possible to un-select the select option box, i used .remove() but this actually removes the text from the select box,

is there any other way.



$('#mySelectBox :selected').attr('selected', '');

Where #mySelectBox is the id of your select element.