I would like to get the html element corresponding to the auto-complete list i.e. dropdown part that opens as I type into the input element of jQuery combobox. How would I get this dropdown element using jQuery?
I would like to get the html element corresponding to the auto-complete list i.e.
Share
If you’re talking about jQueryUI autocomplete, you can access the
menu‘s element using:So in the context of the
openevent, you could do something like this:Example: http://jsfiddle.net/PvgGw/
For the combobox widget you’ll need to jump through a few more hoops, since the
inputis dynamically generated: