How to check if it has class in jQuery?
<p>How can I check if a the <code>#load</code> div has a class also?</p>

<pre><code>if (cap &gt; 20) {
$(".p" + (cap-9)).slideto({
    slide_duration : 'slow'
});
}
</code></pre>
