> The :selected selector checks the .selected property and if
> there isn't one, it checks for the attribute. The attribute 
> selector only checks the DOM.

Yep. Now, is that the desired behavior? I automatically thought that it
wasn't, but stopping to think about it some more I can see the other side.
But...the :disabled pseudo uses the dynamic value and not the DOM attribute,
so for consistency's sake it seems like :selected should too. Plus it makes
:selected actually useful. I think that same argument would go for
@selected. There is always @defaultSelected if you want to know the original
value, although I haven't tried it...


_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to