title: Select all or Unselect all in listbox using jquery?
body: <p>I have asp.net listbox. first item of the listbox is "--All--". If user selected 1st item of the list then automatically select all items. If user unselect 1st item of list then automatically unselect all items. How can I do that using jquery?</p>
  
  <pre><code>    &lt;asp:ListBox ID="lstDatabases" runat="server" Height="134px" Width="396px" SelectionMode="Multiple" &gt;
  &lt;/asp:ListBox&gt;
  </code></pre>