title: How to convert all items (options) of a multi select dropdown into an array using jquery
body: <p>I am trying to convert a multiple select dropDown values (all options) into an array using jquery.</p>
  
  <pre><code>&lt;select size="10" style="width: 330px;" name="itemList"
          id="selectedItemLists" multiple="multiple"&gt;
      &lt;option value="1"&gt;value1&lt;/option&gt;
      &lt;option value="2"&gt;value2&lt;/option&gt;
      &lt;option value="3"&gt;value3&lt;/option&gt;
      &lt;option value="4"&gt;value4&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>Now using jquery how to create an array like array[0]=value1,array[1]=value2...</p>
  
  <p>Please help me in this.</p>
  
  <p>Thanks in advance.</p>