tags:

views:

279

answers:

3
<select>
<option value="test">label </option>
</select>

The value can be retrieved by $select.val().

What about the label?

Is there a solution that will work in IE6?

A: 

You're looking for $select.html()

http://api.jquery.com/html/

Guillaume Flandre
+5  A: 

Try this:

$('select option:selected').text();
Sergey Kuznetsov
A: 
<SELECT id="sel" onmouseover="alert(this.options[1].text);"
<option value=1>my love</option>
<option value=2>for u</option>
</SELECT>
meo