*= css selector not working in IE7

*= css selector not working in IE7

The *= selector reads something like the ~= selector--which I also tried--

var tab1ErrCount = $("div#tab1 .errorMessage[style*=inline]").length;

Basically give the count for all elements inside the div named 'tab1' with a css style that contains the word 'inline'.

I do this to count the number of errors per tab.

It works in Firefox ...not so in IE7.


Guillermo Jimenez