Try this: $('#select option[selected]').html(); -Hector
On Tue, Nov 18, 2008 at 8:42 AM, debussy007 <[EMAIL PROTECTED]> wrote: > > > Hi, > > to get the selection option value, I use > $('#select').val(); > But how do I get the content of the option ? > > In other words: > <select id="select"> > <option value="hello" selected>world</option> > </select> > > $('#select').val(); will return "hello", but how do I get "world" ? > > Thank you ! > -- > View this message in context: > http://www.nabble.com/Get-the-content-of-an-option-element-tp20563344s27240p20563344.html > Sent from the jQuery General Discussion mailing list archive at Nabble.com. > >