How can I select in jQuery all the div
s that have background-image: url(somepath/somename.png)
in their style?
相关问题
- Views base64 encoded blob in HTML with PHP
- How to fix IE ClearType + jQuery opacity problem i
- jQuery add and remove delay
- Is there a way to play audio on a mobile browser w
- HTML form is not sending $_POST values
There isn't a jQuery selector, but this might work:
However, a more efficient method would be to make sure you only have a single class that uses that background image, then simply select
$('.bgClass')
Try adding a custom selector:
Then to select:
Use the filter function: