Event Management on the List of Suggestions with bind ()

In addition to the event methods provided in the options of the autocomplete (options) method, jQuery UI allows us to manage these events using the bind () method (detailed in Table 9-4).

Table 9-4. Events created by jQuery UI

Event

Function

autocompleteopen

Same meaning as options.open.

autocompleteclose

Same meaning as options.close.

autocompletesearch

Same meaning as options.search.

autocompletefocus

Same meaning as options.focus.

autocompleteselect

Same meaning as options.select.

autocompletechange

Same meaning as options.change.

Get jQuery UI now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.