diff options
author | Scott González <scott.gonzalez@gmail.com> | 2010-07-19 14:10:37 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2010-07-19 14:10:37 -0400 |
commit | 44daca1cfab3514ae039f816445cfde9e503b7f7 (patch) | |
tree | d3fc83403caebdf72ca0b5da98a4decb153530d9 /demos | |
parent | 5311fe22f327d275f6f8d885da1ce6bbc2c4a681 (diff) | |
download | jquery-ui-44daca1cfab3514ae039f816445cfde9e503b7f7.tar.gz jquery-ui-44daca1cfab3514ae039f816445cfde9e503b7f7.zip |
Autocomplete demos: Added more programming languages and alphabetized.
Diffstat (limited to 'demos')
-rw-r--r-- | demos/autocomplete/combobox.html | 35 | ||||
-rw-r--r-- | demos/autocomplete/default.html | 2 | ||||
-rw-r--r-- | demos/autocomplete/multiple.html | 2 |
3 files changed, 24 insertions, 15 deletions
diff --git a/demos/autocomplete/combobox.html b/demos/autocomplete/combobox.html index 3001f7d17..10d165392 100644 --- a/demos/autocomplete/combobox.html +++ b/demos/autocomplete/combobox.html @@ -96,19 +96,28 @@ <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> diff --git a/demos/autocomplete/default.html b/demos/autocomplete/default.html index d78b0576c..110263dac 100644 --- a/demos/autocomplete/default.html +++ b/demos/autocomplete/default.html @@ -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 }); diff --git a/demos/autocomplete/multiple.html b/demos/autocomplete/multiple.html index d8cb7e403..742c7d857 100644 --- a/demos/autocomplete/multiple.html +++ b/demos/autocomplete/multiple.html @@ -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*/); } |