show DIV once selected option PASS from drop down menu
<p>I would like to create simple drop down with options and one of the will be PASS then show DIV once selected option PASS from drop down menu, for other options DIV will be closed</p>

<pre><code>&lt;script type="text/javascript"&gt;
document.getElementById('mfi_4_a_i').onchange = function(){
    if (this.value == 'PASS') {
        document.getElementById('sdd').style.display = "block";
    } else {
        document.getELementById('sdd').style.display = "none";
    }
};
&lt;/script&gt;
&lt;select id="test" name="test" onChange="changetextbox();"&gt;
    &lt;option value="PASS"&gt;PASS&lt;/option&gt;
    &lt;option&gt;No&lt;/option&gt;
    &lt;option&gt;No, but planning in future&lt;/option&gt;
&lt;/select&gt;

&lt;input type="text" name="test" id="sdd" /&gt;
</code></pre>
