Autocomplete: two question on the select event data and on the autocomplete object
Let say there is an autocomplete bound to an input element:
- <input id="myInput" />
- <script>
- $( "#myInput" ).autocomplete({
- source: [/* whatever */]
- });
- </script>
1. Is it possible to pass event data to the select event handler?
- /* is it possible to pass event data as in the .bind method? */
- $('#myInput).select({'targetId':'value'}, function(event,data){});
2. Is there any autocomplete object accessible from the browser debugger at runtime?