dangling combinator

dangling combinator

I'm trying to track down why jQuery is writing a warning message to the Firebug console that says " Unknown pseudo-class or pseudo-element 'selected'. Dangling combinator." I only use the selected pseudo-class in one place in my code. Here's the line:

 var option = $('#' + selectId + ' > option:selected');

The purpose of this line is to get the option that is currently selected in a given select element.
I've added my own logging around that line and it seems that the "dangling combinator" message isn't generated from that line.