onchange select run function
<pre><code>&lt;select onchange="alert();"&gt;
            &lt;option&gt;d&lt;/option&gt;
            &lt;option&gt;de&lt;/option&gt;
            &lt;option&gt;dewe&lt;/option&gt;
            &lt;option&gt;dewee&lt;/option&gt;
        &lt;/select&gt;
</code></pre>

<p>I want the onchange event of a <code>&lt;select&gt;</code> element to display an alert but it's not working.</p>

<p>Any ideas what's wrong?</p>
