> But, I want the class to be added to the parent,
> or prev element here, which is a holder div called
> itemHolder.

So which element should get the hidden class? .prev() selects the
previous sibling. It sounds like you may want .parent() instead.

Reply via email to