[jQuery] [@selected] Firefox error

[jQuery] [@selected] Firefox error

I'm using some code that Mike Alsup provided a few months ago. I need to get
the text of an option tag in addition to it's value. He suggested the
following:
$('#unit option[@selected]').text();
Which works perfectly in IE, but not at all in Firefox. When this code is
run on this page, Firefox returns a blank result (when alerted). Anyone have
any ideas, or have alternate code? I'm using the most recent version of
jQuery (downloaded on Saturday).
<!----------------//------
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
andy@icglink.com
615.370.1530 x737
--------------//--------->
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/