Is there a way to select all elements that have a given style using JavaScript?
Eg, I want all absolutely positioned elements on a page.
I would assume
For Mootools:
var styleEls = $$('*').filter(function(item) { return item.getStyle('position') == 'absolute'; });