and trying me out (once more) ...
please @ straightforward autocomplete example. code directly taken 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 more simple:
<label for="tags">tags:</label> <input id="tags"> here complete jsfiddle:
the code works on pc (tested firefox , ie), not @ on android (samsung galaxy tab, android 4.2.2). when focus input, autocomplete list pops up, can select value, value never passed input.
i tried several combinations of jsquery , jsqueryui, behave same. hints can autocomplete work on tablet?
thx
alina.
Comments
Post a Comment