jQuery(element).hasClass('classname')

--John


On Wed, Jul 2, 2008 at 12:18 PM, Harald Armin Massa
<[EMAIL PROTECTED]> wrote:
>
> hello,
>
> I am in the process of converting some MochiKit code to jquery.
>
> I was used to a comfortable funciton
>
> hasElementClass(element, 'classname')
>
> which checked if the element has at least the css_class named
> "classname"
>
> what is the best way to have this in jQuery?
>
> Harald
>

Reply via email to