title: How to extract information from a html select array option?
body: <p>I'm trying to create a html select array option like the following</p>
  
  <pre><code>&lt;select name="tablename"&gt;
      &lt;option value="['one','two','three']"&gt;Option one&lt;/option&gt; 
  &lt;/select&gt;    
  </code></pre>
  
  <p>in javascript</p>
  
  <pre><code> var myArray = new Array(); 
  
  myArray[0] ="one";
  myArray[1] ="two";
  myArray[2] = "three";
  
   option.value=myArray;
  </code></pre>
  
  <p>but when i try to get value from it using</p>
  
  <pre><code>var myArray2 = new Array();
  myArray2 = $('select[name="tablename"]').val();
  val=myArray2[0];
  </code></pre>
  
  <p>it did not return anything...anything went wrong</p>