Using a filter is the only thing I could think of... $('*').filter(function(){ return /\.png/.test($ (this).css('backgroundImage')); }).ifix.png();
Refining the initial selector it would help. On Oct 16, 7:29 pm, tpneumat <[EMAIL PROTECTED]> wrote: > Was thinking something like this...which of course dosn't work. > > $("*[style.background-image*='.png']").ifixpng(); > > On Oct 16, 12:46 pm, tpneumat <[EMAIL PROTECTED]> wrote: > > > Hi, I am trying to implement ifixpng for all elements that have a .png > > as the background image. > > > Is there a way to grab these (and only these) with one nicely written > > selector? > > > Thanks, > > > Jeremy