jcanker Posted February 13, 2011 Share Posted February 13, 2011 Probably a simple answer to this one... I need to use the select option on the autocomplete widget to change some data elsewhere on the page, but to do it, I need ot get the value of what was selected in the first place. What variable do I grab for that? Quote Link to comment https://forums.phpfreaks.com/topic/227554-jqueryui-autocomplete-get-value-of-selected/ Share on other sites More sharing options...
jcanker Posted February 13, 2011 Author Share Posted February 13, 2011 Found it: select: function(event, ui) { var selectedObj = ui.item; alert(selectedObj.value); Alerts the value selected in the autoselect input form Quote Link to comment https://forums.phpfreaks.com/topic/227554-jqueryui-autocomplete-get-value-of-selected/#findComment-1173762 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.