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? 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 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
Archived
This topic is now archived and is closed to further replies.