$(selector_for_your_element).is(":last-child") will return a boolean,
which it sounds like you'd want for your conditional anyway?
On Mar 29, 2:14 pm, Victor Nogueira wrote:
> In other words, I need to check the position of the element who has
> the .example class.
>
> (It's really difficult to
In other words, I need to check the position of the element who has
the .example class.
(It's really difficult to make people understand me in english. ;P)
On Mar 29, 6:07 pm, Victor Nogueira wrote:
> I want to find out if an element who has the class .example is
> positioned as last-child. So
2 matches
Mail list logo