$("#country") .autocomplete({ minLength: 0, source: countries }) .click(function(){ $(this).val(''); $(this).keydown(); });