I would like to add a class (class=\"bbox\") to a ul-list but only if no class exists. This is what i have so far. How do I check with jquery if a class exists in the ul-tag
you can use this code for adding class only when if not exist
$('.your-dom:not(.class-name)').addClass('class-name');