[jQuery] about :not(:last)

[jQuery] about :not(:last)


Hi!
Please, consider this code:
$.fn.url2 = function(absoluta) {
        var slots = $(this).parents('dl:not(:last)').map(function() {
            return $(".Texto:first", $(this)).text();
        });
        var slots2 = $(this).parents('dl').map(function() {
            return $(".Texto:first", $(this)).text();
        });
        return slots.get().join("/") + ' -- ' + slots2.get().join("/");
    };
The funny thing of this code is that slots and slots2 have the same
items
Could you point me why slots put the last dl?
I suppose that dl:not(:last) retrieves all the parents except the last
one but this don't work
Thanks!