문제

I use jQuery 1.7.2 with jQuery UI autocomplete 1.8.22 and it works fine with all pc based browsers

On mobile browsers other than Chrome, when the search terms are using non-latin characters (let's say greek) other mobile browsers such as Firefox and Safari fail.

Are there any known issues I should be aware that affects mobile Firefox and Safari?

도움이 되었습니까?

해결책 2

The solutions i have found for solve the problem is

$('#element').on('input', function(){
    $(this).autocomplete("search", $(this).val());
});

다른 팁

I think the problem is that this version of ui autocomplete is not optimized for input events on mobile browsers. Mobile firefox doesn't support keyup and keydown events. In later versions of jQuery ui this problem is fixed.

Here is the link on jquery forum describing this problem. http://bugs.jqueryui.com/ticket/8263

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