Selecting a div without a .Class or #Id
javascript, jquery
Solution
I don't think it's a good idea, but you can select elements by specific inline style with this:
$('div[style*="height: 34px"]')
Example
Problem
For some reason, it is much easier for me if it is possible to select all the divs that match a particular set of similar style attributes. Example of div that I want to select ``` <div style="background-image: url(http://localhost/website/images/template/markers/cluster.png); height: 34px; line-height: 34px; width: 34px; text-align: center; cursor: pointer; color: rgb(255, 255, 255); position: absolute; font-size: 12px; font-family: Arial, sans-serif; font-weight: bold; top: 78.15521871251985px; left: 725.3256078213453px; background-position: 0px 0px; ">15</div> ``` Other than this div, other divs that needs to be selected can be similar to this one, but with say different `height` and `top` `left` positions. However, the good thing is that the `background-image url()` remains the same. How can this selection be made with jQuery? Thank you !! EDIT Surrounding Code Easier to provide a screencap