how can i get the value of my input form be a javascript/php variable?
<p>I can't get the value of the very last line of this code to be anything but static. I need it to be hardcoded so when they pull down the menu and select, it takes that value and puts it forth into the action script.</p>

<p>Any help?</p>

<pre><code>&lt;select id="yo5" onChange="asdf90()"&gt;&lt;option&gt;// Let the Page Refresh for each Pick Please!&lt;/option&gt;
    &lt;option id="yo4" value="&lt;?php echo $test1 ?&gt;"&gt;&lt;?php echo $test1 ?&gt;&lt;/option&gt;
    &lt;option value="&lt;?php echo $test2 ?&gt;"&gt;&lt;?php echo $test3 ?&gt;&lt;/option&gt;
    &lt;option&gt;&lt;?php echo $test4 ?&gt;&lt;/option&gt;
    &lt;option&gt;&lt;?php echo $test5 ?&gt;&lt;/option&gt;
    &lt;option&gt;&lt;?php echo $test6 ?&gt;&lt;/option&gt;
    &lt;option&gt;&lt;?php echo $test7 ?&gt;&lt;/option&gt;
    &lt;option&gt;&lt;?php echo $test8 ?&gt;&lt;/option&gt;
    &lt;option&gt;&lt;?php echo $test9 ?&gt;&lt;/option&gt;
    &lt;option&gt;&lt;?php echo $test10 ?&gt;&lt;/option&gt;
&lt;/select&gt;

&lt;script type = "text/javascript"&gt;
    function asdf90()
    {
        elem = &lt;?php $test1 ?&gt;;
        if(document.getElementById('yo5').value = elem)
        {
            alert('hi');
        }
    }
&lt;/script&gt;       


&lt;form method="post" action="&lt;?php echo network_admin_url('site-new.php?action=add-site'); ?&gt;"&gt;
&lt;div id="nonexsist4"&gt;&lt;input name="blog[domain]" type="hidden" value="" /&gt;&lt;/div&gt;
</code></pre>
