javascript - Automated clicked input type in Jquery
one text
Solution:
$('input#kt_typeahead_1').autocomplete("search");
will initiate the autocomplete search.
If you wanted to put a value in there first so it has something to search for, $('input#kt_typeahead_1').val("My value")
- and then the autocomplete.search method above
If you just want to give the input a focus, $("#kt_typeahead_1").focus()