Maybe try a filter function:
var filters = $('div').filter(function() {
return this.style.filter;
}).length;
alert(filters);
It won't work in FF because filter is IE-proprietary. Has nothing to
do with jQuery. To test, try this:
var divs = document.getElementsByTagName('div');
Hi Karl,
Yes, I understand filter is IE-proprietary. That's why I try to use
jquery selector to get the filter div list instead of
div.style.filter. But it seems jquery selector cannot handle this
well. As the html is created by M$ mshtml which has some filter styles
in the page.
What I try to
2 matches
Mail list logo