jQuery optimization: Check if an element exists, fast?
<p>In jQuery, I already know how to check if an element exists by using the length property on the jQuery object returned by a specific selector.</p>

<p>However, internally, this means that jQuery first grabs all the objects and then gets the length. For performance reasons, I want to see if just 1 element exists, I don't need to grab the rest.</p>

<p>How can I do that?</p>
