When using JQuery, I have set my target to be the following:
<li style="margin-left: 15px;">blah<li>
I am using this code to achieve that:
$(".block-category-navigation li[style='margin-left: 15px;']").addClass('sub-menu');
While this works well in Firefox, it does not work at all in IE. Does IE disregard the style selector? Is there a workaround for this issue?