I\'m using jQuery\'s autocomplete in a relatively simple way:
$(document).ready(function() { var data = [ {text: \"Choice 1\"}, {text: \"Ch
When input value is empty search else the value inside input. This code works for me:
$("#your_input").on('focus', function () { $(this).autocomplete('search', $(this).val() == '' ? " " : $(this).val()); });