> I can only imagine to make that a little shorter: > > $('#dropdown').change(function() { > $.log( $('option:selected', this).text() ); > });
I could imagine making it faster :-) $('#dropdown').change(function() { $.log(this.options[this.selectedIndex].text); }); _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/