JQuery / JQueryUI / Autocomplete not working on Android 4.2.2
and thanks for trying to help me (again) ...
Please take a look at this simple autocomplete example. The code comes almost directly from the official docs.
var availableTags = [
"ActionScript",
"AppleScript",
"Asp",
"BASIC",
"C",
"C++",
"Clojure",
"COBOL",
"ColdFusion",
"Erlang",
"Fortran",
"Groovy",
"Haskell",
"Java",
"JavaScript",
"Lisp",
"Perl",
"PHP",
"Python",
"Ruby",
"Scala",
"Scheme"];
$("#tags").autocomplete({
source: availableTags,
minLength: 0,
})
.focus(function() {
$(this).autocomplete( "search", $(this).val());
});
HTML is even simpler:
<label for="tags">Tags:</label>
<input id="tags">
Here is the complete JSFiddle:
The code works well on PC (Firefox and IE tested), but not at all on Android (Samsung Galaxy Tab, Android 4.2.2). When I focus the input, an autocomplete list appears, I can select a value, but the value is never passed to the input.
I tried several combinations of JSQuery and JSQueryUI, they all behave the same. Any hints what I can do to get autocomplete working on my tablet?
thank
Aline.
+3
source to share
No one has answered this question yet
Check out similar questions: