Is there a better way to do this jQuery function
<p>I am new to jQuery but i am really liking it.</p>

<p>I have some jQuery as below that works as expected, i am jsut wandering if there is a more effective less resource hungry method to do the same thing.</p>

<pre><code>&lt;script type="text/javascript"&gt;
    $(function() {
        $("select.openTime").change(function() {
            if ($(this).val() != 'Closed') {
                $(this).next(".hidden_element").css('display', 'block');
            }
            if ($(this).val() == 'Closed') {
                $(this).next(".hidden_element").css('display', 'none');
            }

        });
    });
&lt;/script&gt;
</code></pre>

<p>Any suggestions welcome.
Thanks
M</p>
