I have multiselect list box, I want to clear all selected items On clear button click.
<asp:ListBox id="StatusField" runat="server" SelectionMode="Multiple" Rows="4" />
I tried as follows.
$("#StatusField option:selected").removeAttr("selected");