Jquery hasClass() - check for more than one class
<p>With <code>if(element.hasClass("class")) {*/do stuff*/}</code> i can check for one class. Is there an eays way to check wether "element" has any of many classes?</p>

<p>I am using <code>if(element.hasClass("class") || element.hasClass("class") ... )</code>, which isn´t too bad, but I am thinking of something like <code>if(element.hasClass("class", "class2")</code>, which unfortunately doesn't work.</p>

<p>Is there something like that? Thanks.</p>
