Using hasClassUsing hasClass Clicking the button will use Dom's hasClass method to test if the element has the class baz applied. foorun yui_2.7.0b.zip( 4,431 k)
Clicking the button will use Dom's hasClass method to test if the element has the class baz applied.
hasClass
baz