How does one use Javascript to select a value from a drop down list and pass that value as a var to another function?
<p>I know this is simple, but I can't get it working. I'm hoping someone here can help.</p>

<p>First off, this is part of a web app for iOS.</p>

<p>Okay, I have a list of items:</p>

<pre><code>Room Type: &lt;select id="isoList" name="isoList"&gt;
&lt;option&gt;&lt;/option&gt;
&lt;option value="20"&gt;ISO 8 Life Sciences Low Use&lt;/option&gt;
&lt;option value="25"&gt;ISO 8 Life Sciences Med Use&lt;/option&gt;
&lt;option value="30"&gt;ISO 8 Life Sciences High Use&lt;/option&gt;
&lt;/select&gt;
</code></pre>

<p>I need to have the user select the room type, then pass the option value - as a var - to another function that uses the var in a calculation.</p>

<p>Here's the script I have to far. My form is named airflow...</p>

<pre><code>function isoChange()
{
var isoChange = document.airflow("isoList");
var airChanges = isoChange.options[isoList.selectedIndex].value;
}
</code></pre>

<p>Now I want to pass airChanges to this function...</p>

<pre><code>function calcAF(airChanges)
{
var length = document.airflow.length.value; //length
var width = document.airflow.width.value; //width
var height = document.airflow.height.value; //height
var changes = airChanges; // hourly air changes
}
</code></pre>

<p>From there the calcAF function will use the var in various math formulae.</p>

<p>I've got it to work if I get the user to tell me airChanges, but it breaks when I try to get the airChanges from a drop down list.</p>
