Grab some Array data from a Select tag
<p>I am learning JQuery.<br/>
I got s Select Tag with some options in a very simple form like this:<br/>
(The form was generated by the Server and the values in each Option was retrieved from the database.)</p>

<pre><code>&lt;select name="data[Site1][quotenumber]" id="data[Site1][quotenumber]"&gt; 
&lt;option name="editquote" value="[29,1]"&gt;1&lt;/option&gt; 
&lt;option name="editquote" value="[24,2]"&gt;2&lt;/option&gt; 
&lt;/select&gt;
</code></pre>

<p>To get the value from the option selected, I used this code:<br/></p>

<pre><code>var whatValue = $('#data\\[\\Site1\\]\\[quotenumber\\] :selected').val();
alert(whatValue);
</code></pre>

<p>Now that I can get the value from the Select Tag, but the returned value was like an array, i.e. [29,1].<br/>
What is the best way to get the two values in each option?<br/>
I mean to print them out like this way:<br/>
The first value is 29, and the second one is 1.</p>

<p>Please help if you could</p>
