Using jQuery, how would you find elements which have a particular style (eg: float: left), regardless of whether it's an inline style or one defined in a CSS file?
float: left
Using the filter function:
$('*').filter(function() { return $(this).css('float') == 'left'; });
Replace '*' with the appropriate selectors for your case.
1.4m articles
1.4m replys
5 comments
57.0k users