문제

I have a textfield with autocomplete. I want to be able to user the arrow keys even if the user haven't entered any character yet.

Is this achievable?

도움이 되었습니까?

해결책

Try setting minlength to 0

$( ".selector" ).autocomplete({ minLength: 0 });

See also: http://api.jqueryui.com/autocomplete/#option-minLength

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top