Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>There is an <a href="http://jqueryui.com/autocomplete/" rel="nofollow">autocomplete</a> plugin in jQuery UI. You can make a better use of it.</p> <h3>Features:</h3> <ol> <li>Default functionality</li> <li>Accent folding</li> <li>Categories</li> <li>Combobox</li> <li>Custom data and display</li> <li>Multiple values</li> <li>Multiple, remote</li> <li>Remote JSONP datasource</li> <li>Remote datasource</li> <li>Remote with caching</li> <li>Scrollable results</li> <li>XML data parsed once</li> </ol> <h3>Simple Example:</h3> <pre><code>&lt;!doctype html&gt; &lt;html lang="en"&gt; &lt;head&gt; &lt;meta charset="utf-8" /&gt; &lt;title&gt;jQuery UI Autocomplete - Default functionality&lt;/title&gt; &lt;link rel="stylesheet" href="http://code.jquery.com/ui/1.9.1/themes/base/jquery-ui.css" /&gt; &lt;script src="http://code.jquery.com/jquery-1.8.2.js"&gt;&lt;/script&gt; &lt;script src="http://code.jquery.com/ui/1.9.1/jquery-ui.js"&gt;&lt;/script&gt; &lt;link rel="stylesheet" href="/resources/demos/style.css" /&gt; &lt;script&gt; $(function() { 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 }); }); &lt;/script&gt; &lt;/head&gt; &lt;body&gt; &lt;div class="ui-widget"&gt; &lt;label for="tags"&gt;Tags: &lt;/label&gt; &lt;input id="tags" /&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload