I need to find an element based on a specific css attribute. The css is applied inline and I can not use a class. Is there anyway to achieve this i
css
var ccsStyle="font-weight:bold"; var els = []; $("*").each(function(){ var st = $(this).attr("style"); if(st.indexOf(cssStyle) > -1) els.push(this); }); //do stuff with els