[jQuery] Re: Select attribute by checking more than one value

2008-05-24 Thread leggo-my-eggo
entry a:not(.download):has( img ) >   .filter(function(){ return /\.(jpg|gif|png)$/.test(this.ref); >   }).attr('rel','popupgallery').addClass('something'); > > On May 24, 12:55 am, leggo-my-eggo <[EMAIL PROTECTED]> wrote: > > > Hi, I'm

[jQuery] Select attribute by checking more than one value

2008-05-23 Thread leggo-my-eggo
Hi, I'm new here, so forgive me if I'm missing something obvious, or violating etiquette. I'm trying the following code: jQuery('.entry a:has( img )[href$={".jpg" || ".gif" || ".png"}]').not('.download').attr('rel', 'popupgallery').addClass('something'); What I want it to do is to find in .entr