Autocomplete: two question on the select event data and on the autocomplete object

Autocomplete: two question on the select event data and on the autocomplete object

Let say there is an autocomplete bound to an input element:

  1. <input id="myInput" />
  2. <script>
  3. $( "#myInput" ).autocomplete({
  4.     source: [/* whatever */]
  5. });
  6. </script>

1. Is it possible to pass event data to the select event handler?
  1. /* is it possible to pass event data as in the .bind method? */
  2. $('#myInput).select({'targetId':'value'}, function(event,data){});

2. Is there any autocomplete object accessible from the browser debugger at runtime?