Update script var's with value from drop down?
<p>I have a script, which basically looks like this (the part I need help with):</p>

<pre><code>&lt;script&gt;
var languageFrom = " from ";
var languageTo = " to ";
&lt;/script&gt;
</code></pre>

<p>If I had a drop down menu that looked like this:</p>

<pre><code>&lt;select&gt;
&lt;option value="en"&gt;En&lt;/option&gt;
&lt;option value="fr"&gt;Fr&lt;/option&gt;
&lt;/select&gt;
</code></pre>

<p>When you select one of the drop down menus, it populates the <code>from</code> variable with the text from the option value. How can you accomplish this? Are there any tutorials on this?</p>
