[jQuery] Selecting elements with css background images
Hi,
I want to select the nodes which has a background image defined by
css. But I think this could be only possible by cycling all the dom
nodes and checking each of them. Is there any short way? And if the
css is defined outside by a class property this should be selected
too :(
.class {background-image:url(bla.bla)}
<div class="class"> should be selected
and <div style="background-image:url("bla.bla")"> should be selected
too..
is this possible? Or maybe we can cycle the class names defined and
look if there's a background in it, and then check the styles which
contains background and url in it?
$("*[style=*'background'][style=*'url(']")
will this work? :)