| Author |
JQuery, JSON and getting the selected value
|
Dave Anderson
Greenhorn
Joined: Nov 09, 2009
Posts: 29
|
|
Using JQuery, autocomplete, JSON, I am successfully able to get a list of items from a database call.
I am also able to highlight the user's selection with the .change method; however, I cannot figure out how to get the actual value a user selects from the list, and this is where I'd like help.
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56191
|
|
It is set as the value of the input element that you instrumented as the autocompleter. You can also grab it during an autocompleteselect event.
[Covered in section 11.4 of jQuery in Action for those with the book.]
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Dave Anderson
Greenhorn
Joined: Nov 09, 2009
Posts: 29
|
|
Thank you.
|
 |
 |
|
|
subject: JQuery, JSON and getting the selected value
|
|
|