The .itemHolder element should get the hidden class.  I tried
using .parent() instead, and it worked perfectly.  Thanks!

On Oct 7, 2:34 pm, Dave Methvin <[EMAIL PROTECTED]> wrote:
> > 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