is no 'semantic' in them. Maybe this could be
> improved, but that would be a change in syntax, not a 'bug
> correction'.
>
> Again, that's what slice() is for, slicing the array of elements as
> you wish.
>
> cheers,
> - ricardo
>
> On Feb 3,
':not(:first)').map(function
> () {
> return $(".Texto:first", $(this)).text();
>
> }
>
> Or use slice() instead as I posted before, that will be much faster as
> you're just slicing the array without dealing with elements/selectors.
>
> va
A element can only contain
> inline elements, certainly not divs and other definition lists. Nested
> definition lists make no sense! I couldn't find the problem.
>
> Try $(this).parents('dl').slice(1) or $(this).parents('dl').slice
> (0,-1), that will probab
ml.
>
> Seems to work fine here. Could you post a complete test page showing
> this issue?
>
> - ricardo
>
> On Feb 1, 1:25 pm,Garito wrote:
>
> > Hi!
> > Please, consider this code:
>
> > $.fn.url2 = functi
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() {
5 matches
Mail list logo