Thanks for the reply Shane!

Yes looping through the parent is an option that I was hoping to
avoid.  Rigth now my Timeline only displays 30 projects (each one
composed of 2 <div> elements), but SIMILE Timeline generates many more
<div> elements within the parent containing <div>; 380 to be exact.
So I'll have to loop through 380 to find the a few <div> elements that
have the appropriate background color.  Since I don't generate any of
the Timeline elements I'm kind of at SIMILE mercy (and I don't wat to
alter their code).  I guess performance wise me examining 380 <div>
elements isn't any different than waht JQuery would have to do, but I
was hoping for a nice elegant JQuery one liner.

It does seem like $("div[style*= firebrick]"); should work.

Find all <div> elements whose "style" attribute contains "firebrick".

Can anyone explain the logic why this doesn't work?
Is this a bug or a documented exception that I failed to find/read?

Thanks again to Shane and the rest of the JQuery community!

Reply via email to