]> source.dussan.org Git - jquery-ui.git/commitdiff
Autocomplete demos: Added more programming languages and alphabetized.
authorScott González <scott.gonzalez@gmail.com>
Mon, 19 Jul 2010 18:10:37 +0000 (14:10 -0400)
committerScott González <scott.gonzalez@gmail.com>
Mon, 19 Jul 2010 18:10:37 +0000 (14:10 -0400)
demos/autocomplete/combobox.html
demos/autocomplete/default.html
demos/autocomplete/multiple.html

index 3001f7d178501fb92096608ae25de2254cc1c8d1..10d16539202d89269f6dc03233959144c080e635 100644 (file)
        <label>Your preferred programming language: </label>
        <select id="combobox">
                <option value="">Select one...</option>
-               <option value="a">asp</option>
-        <option value="c">c</option>
-        <option value="cpp">c++</option>
-        <option value="cf">coldfusion</option>
-        <option value="g">groovy</option>
-        <option value="h">haskell</option>
-        <option value="j">java</option>
-        <option value="js">javascript</option>
-        <option value="p1">perl</option>
-        <option value="p2">php</option>
-        <option value="p3">python</option>
-        <option value="r">ruby</option>
-        <option value="s">scala</option>
+               <option value="ActionScript">ActionScript</option>
+               <option value="AppleScript">AppleScript</option>
+               <option value="Asp">Asp</option>
+               <option value="BASIC">BASIC</option>
+               <option value="C">C</option>
+               <option value="C++">C++</option>
+               <option value="Clojure">Clojure</option>
+               <option value="COBOL">COBOL</option>
+               <option value="ColdFusion">ColdFusion</option>
+               <option value="Erlang">Erlang</option>
+               <option value="Fortran">Fortran</option>
+               <option value="Groovy">Groovy</option>
+               <option value="Haskell">Haskell</option>
+               <option value="Java">Java</option>
+               <option value="JavaScript">JavaScript</option>
+               <option value="Lisp">Lisp</option>
+               <option value="Perl">Perl</option>
+               <option value="PHP">PHP</option>
+               <option value="Python">Python</option>
+               <option value="Ruby">Ruby</option>
+               <option value="Scala">Scala</option>
+               <option value="Scheme">Scheme</option>
        </select>
 </div>
 <button id="toggle">Show underlying select</button>
index d78b0576cd63f8797aed60052a2bca2651ee74c6..110263dac20d34d80b43cefed24581da96d07dcf 100644 (file)
@@ -12,7 +12,7 @@
        <link type="text/css" href="../demos.css" rel="stylesheet" />
        <script type="text/javascript">
        $(function() {
-               var availableTags = ["c++", "java", "php", "coldfusion", "javascript", "asp", "ruby", "python", "c", "scala", "groovy", "haskell", "perl"];
+               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
                });
index d8cb7e403af5a4630211196e32566b62740a9efe..742c7d857b4475e5644cb12bd1ece884d0b85790 100644 (file)
@@ -12,7 +12,7 @@
        <link type="text/css" href="../demos.css" rel="stylesheet" />
        <script type="text/javascript">
        $(function() {
-               var availableTags = ["c++", "java", "php", "coldfusion", "javascript", "asp", "ruby", "python", "c", "scala", "groovy", "haskell", "perl"];
+               var availableTags = ["ActionScript", "AppleScript", "Asp", "BASIC", "C", "C++", "Clojure", "COBOL", "ColdFusion", "Erlang", "Fortran", "Groovy", "Haskell", "Java", "JavaScript", "Lisp", "Perl", "PHP", "Python", "Ruby", "Scala", "Scheme"];
                function split(val) {
                        return val.split(/,\s*/);
                }