jQuery simplest way to check if an element exists
<p>I aways check for elements with jQuery this way:</p>

<pre><code>var x = $("div.myElement");
if (x.length &gt; 0) {
    x.show();
}
</code></pre>

<p>But I really don't like that <code>if</code>. Is there any way to do it more simple?</p>
