[jQuery] what is the best way to do this
<div dir="ltr">Hi
I use jquery to filter a dataset based on classes. Each item has a class of the profile that news item is in so lets say
<div class="profile1"> <div class="profile2"> <div class="profile3">
nof in a forum i check checkbox for profile 1 and 3 and now i need to have have the classes with profile 1 and 3 set to a new class
whats the best way to go about his.
</div>