On Dec 10, 12:36 pm, "T.J. Simmons" <theimmortal...@gmail.com> wrote:
> Sorry, the right link ishttp://jsbin.com/ekuyo

It would probably be better to fix the other errors before posting an
example.  But I was in a good mood.  :-)

    http://jsbin.com/ivoyi (code http://jsbin.com/ivoyi/edit)

The problem is that "prev" returns only the immediate previous sibling
of the selected element, and, if you supply a selector, won't return
even that element if it doesn't match the selector.  If you want the
first prior sibling matching the selector, you can use "prevAll
('selector:first')".

Cheers,

  -- Scott

Reply via email to