 <p>Another alternative, assuming your elements are stored as variables (which is often a good idea if you're accessing them multiple times in a function body):</p> <pre><code>function disableMinHeight() { var $html = $("html"); var $body = $("body"); var $slideout = $("#slideout"); $html.add($body).add($slideout).css("min-height", 0); }; </code></pre> <p>Takes advantage of jQuery chaining and allows you to use references.</p>