On 12/18/06, Khurshid MUROD <[EMAIL PROTECTED]> wrote: > Have you tried doing $('#filter option:selected').text(); > > There was a similar problem with using [EMAIL PROTECTED] before. No one > explained why it wasn't working though > > Kush
The reason it doesn't work is that the DOM is not actually modified when the selection changes. Only the selected property is updated. 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. -- Brandon Aaron _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/