Dynamic Dropdown Div Using Jquery
<p>I need a snippet of code for creating an "other" dropdown option.  Basically, if there are 3 options for color: red|green|blue, I want them to have the ability to select other and when selected a div appears with a textbox for them to enter the next color.  Posting code now....sorry people.  Here is what I have tried so far:</p>

<pre><code>&lt;label class="desc"&gt;
                                    Operating System:
                                &lt;/label&gt;
                                &lt;div&gt;&lt;select name="os" id="os"&gt;&lt;option value="1" selected = "selected"&gt;Windows 98&lt;/option&gt;
</code></pre>

<p>Windows ME
Create New
    </p>


$(document).ready(function(){

    $('#os').change(function(){

        if($(this).val() == 'other')

            $('#otheros').show();

        else

            $('#otheros').hide();

    });
});

