parents(expr) is equivalent to parents().filter(expr)
SamCKayak wrote:
>
>
> I could do a test, but discussion seemed like it might turn up
> something else...
>
> .parents(expr) supports an expression to filter parent elements,
> e.g.,
>
> .parents('.getme') // returns all parents with cla
It would appear that you idea does not work.
Just as a note about testing. Open any jQuery page and Firebug, and
viola, you have little playground to try quick jQuery lines.
~Sean
P.S. I wrote a plugin to find jQuery pages: http://www.sunsean.com/jquerydetect/
2 matches
Mail list logo