I\'m using jQuery\'s autocomplete in a relatively simple way:
$(document).ready(function() {
var data = [ {text: \"Choice 1\"},
{text: \"Ch
I have seen all the answers which seem to be complete.
If you want to get the list when the cursor is in the text field OR when you click on the matching label, here how you can do:
//YourDataArray = ["foo","bar"];
$( "#YourID" ).autocomplete({
source: YourDataArray
}).click(function() { $(this).autocomplete("search", " "); });
this works fine in Firefox, IE, Chrome ...