jQuery if condition for two element mouseleave
<p>Hereis the code and <a href="http://jsfiddle.net/jaUNY/" rel="nofollow">online JsFiddle</a>:</p>

<pre><code>&lt;div class="blocka"&gt;&lt;/div&gt;
&lt;div class="blockb"&gt;&lt;/div&gt;
</code></pre>

<pre class="lang-js prettyprint-override"><code>$(".blocka").mouseenter(function(){
     $(".blockb").show();
});
$(".blocka").mouseleave(function(){
     $(".blockb").hide();
});
</code></pre>

<p>My question is is it possible to have something like
<code>if $(".blocka") or $(".blockb")</code> mouseleave then hide <code>$(".blockb")</code></p>

<p>I tried the following but it doesn't work :</p>

<pre><code>$(".blocka" || ".blockb" ).mouseleave(function(){
     $(".blockb").hide();
});
</code></pre>
