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
$j("input#directorySearch").result(function(event, data, formatted) { $(this).closest("form").submit(); });
Official documentation: http://docs.jquery.com/Plugins/Autocomplete/result#handler