Use option value as a filename variable in a jquery function
<p>how can I pass the option value to the filename below? My purpose is to create files e.g. 1.php 2.php 3.php .... but I dont know how to pass it as a variable.
Thanks.</p>

<pre><code>    &lt;form&gt;
        &lt;select id="termid"&gt;
            &lt;option value=""&gt;- select -&lt;/option&gt;
            &lt;option value="1"&gt;Option 1&lt;/option&gt;
            &lt;option value="2"&gt;Option 2&lt;/option&gt;
            &lt;option value="3"&gt;Option 3&lt;/option&gt;
            &lt;option value="4"&gt;Option 4&lt;/option&gt;
&lt;option value="other"&gt;Other&lt;/option&gt;
        &lt;/select&gt;  
    &lt;/form&gt;
</code></pre>
