[jQuery] Not sure how to do this...
but how do I take the value of an text field, and check it against the text
in a select list? For example, if I type "foo" in a text field, and I have a
select list that looks like the one below it'll automatically make the
second option selected.
<select>
<option value="1">bar</option>
<option value="2">foo</option>
<option value="3">bar</option>
</select>
Basically as I type I want to check the value on every key up to see if it
exists in the select list(not as the value, but the text) then take a
certain action.
Any ideas?
--
View this message in context: http://www.nabble.com/Not-sure-how-to-do-this...-tf2426822.html#a6766779
Sent from the JQuery mailing list archive at Nabble.com.
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/