("#panel").is is not a function error Jquery
<p>Ive no idea why this throws back an error </p>

<pre><code>        if((("#panel").is(':visible') &amp;&amp; elm.length==0)||((("#panel").is(':hidden') &amp;&amp; elm.length&gt;0))){
            showSubMenu()
        }
</code></pre>

<p>("#panel").is is not a function ???</p>

<p>Could someone explain to me the logic of why this causes an error ? so that I dont repeat ?</p>
