On Fri, Dec 12, 2008 at 2:41 PM, Diogo Neves <dafne...@gmail.com> wrote:
> hi brian,
>
> thanks for your help!
>
> well... i only suspected that $( '#div_pdfs div:last div:last' ) worked
> because $( '#div_pdfs div:eq(1) div:eq(1)' ) worked perfectly...
>
> that HTML is generated by javascript, it has as much levels as needed... i
> only do this like that because some browsers will reset the field input if u
> change the same DOM level of it.

Sorry, I wasn't criticising your markup. I'm not sure I understand
your explanation but, sometimes, ya gotta do what ya gotta do.

> anyway, i already solved the problem, my question now is something like, is
> it a bug or not?

No, it's a feature. The :last selector doesn't only consider the
immediate children. It digs down all the way.

Reply via email to