Generally, I am using Modernizr to detect regular feature but this is the browser selector support (i.e.: nth-
"text">
You are right that selecting an element with a jQuery selector will also work in browsers which do not support that selector in CSS .
However, you can apply a style with a CSS3 selector, and then jquery to determine it. Select an element with the object that the style has been applied.
For example in CSS:
#myid> P {Display: none; } and then in jQuery:
if ($ ('# myid & gt; p') .css ('display')! = ' None ') {// blah} Be careful though because .css () you can not return to expect. If you apply it as a color, then it will return RGB (255, 0, 0) Sorry I know this is not exactly the solution. In the modern era, but I hope it will help you in your situation.