Can you restrict entering invalid keystrokes with jquery ui autocomplete combobox
Posted
by oo
on Stack Overflow
See other posts from Stack Overflow
or by oo
Published on 2010-04-25T15:49:24Z
Indexed on
2010/05/01
11:27 UTC
Read the original article
Hit count: 340
jquery-ui-autocomplete
|keypress
when using the jquery ui autocomplete combobox, i would thought there would be an option to force only valid key entry based on the list. Is there anyway to not allow invalid keys so you can only enter valid items in the list? also, is there a way to set a default value of the combobox.
if my list has (csharp, java, python)
i can start typing "abcds . ." and it lets me type it in. I want only valid entries to be allowed.
© Stack Overflow or respective owner