jueves, 18 de julio de 2013

Métodos transversales DOM

.filter()
.next()
.nextALL()
.prev()
.prevAll
.Simblings

  $('a').filter(function() {
    return this.hostname && this.hostname != location.hostname;
  }).addClass('external');
});
 $('td:contains(Henry)').nextAll().andSelf().addClass('highlight');



No hay comentarios:

Publicar un comentario