Get all multiple listbox values
<p>I have a multiple selection listbox in which I insert items using javascript. At a certain point I need to get the values of all entries (both selected and unselected).
I'm currently using this code:</p>

<pre><code>&lt;form method="post" action="?page=test" name="something"&gt;
&lt;select name="thelist[]" id="selOriginalWindow" size="5" multiple="multiple"&gt;
&lt;/select&gt;
&lt;input type="button" value="Добави" onclick="openInNewWindow();" /&gt;
&lt;input type="submit" value="Get" /&gt;
&lt;/form&gt;

    &lt;?
if ($_GET['page']=="test") {
    $thelist=$_POST['thelist'];
    var_dump($thelist);
}   
    ?&gt;
</code></pre>

<p>Javascript inserts the values, but PHP only gets the selected items' value. How do I get the value of all of the items in that listbox?</p>
