I am trying to simulate the Youtube Autocomplete Search experience.
I can\'t find the option when the viewer clicks on a listed item and is automatically proceeded to se
$(function() { $( "#search" ).autocomplete( { source:'/search-terms.php', focus: function(event, ui) { $("input#search").val(ui.item.label); }, select: function(event, ui) { $("#searchform button").click(); } }) });
I am using this working fine :)