]> source.dussan.org Git - jquery-ui.git/commitdiff
Added Button and Autocomplete
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Sat, 20 Mar 2010 14:38:24 +0000 (14:38 +0000)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Sat, 20 Mar 2010 14:38:24 +0000 (14:38 +0000)
tests/visual/all.html

index d9bc5e5a9cfaea7d95dc1894b45c95482263fdb8..3e71216d7b32a87c53e521ffd7325da7848bf365 100644 (file)
@@ -11,6 +11,8 @@
        <script type="text/javascript" src="../../ui/jquery.ui.mouse.js"></script>
        <script type="text/javascript" src="../../ui/jquery.ui.position.js"></script>
        <script type="text/javascript" src="../../ui/jquery.ui.accordion.js"></script>
+       <script type="text/javascript" src="../../ui/jquery.ui.autocomplete.js"></script>
+       <script type="text/javascript" src="../../ui/jquery.ui.button.js"></script>
        <script type="text/javascript" src="../../ui/jquery.ui.datepicker.js"></script>
        <script type="text/javascript" src="../../ui/jquery.ui.dialog.js"></script>
        <script type="text/javascript" src="../../ui/jquery.ui.draggable.js"></script>
        <script type="text/javascript">
        $(function() {
                $("#accordion").accordion({ header: "h3" });
+               $("#autocomplete").autocomplete({
+                       source: ["c++", "java", "php", "coldfusion", "javascript", "asp", "ruby", "python", "c", "scala", "groovy", "haskell", "perl"]
+               });
+               $("#button").button();
+               $("#buttonset").buttonset();
                $("#datepicker").datepicker();
                $("#dialog button").click(function() {
                        $("#dlg").clone().dialog();
                </div>
        </div>
 </li>
+<li class="plugin">
+       Autocomplete
+       <div>
+               <input id="autocomplete" />
+               <select>
+                       <option>iframe test</option>
+               </select>
+       </div>
+</li>
+<li class="plugin">
+       Button
+       <div>
+               <button id="button">A button element</button>
+               <form style="margin-top: 1em;">
+                       <div id="buttonset">
+                               <input type="radio" id="radio1" name="radio" /><label for="radio1">Choice 1</label>
+                               <input type="radio" id="radio2" name="radio" checked="checked" /><label for="radio2">Choice 2</label>
+                               <input type="radio" id="radio3" name="radio" /><label for="radio3">Choice 3</label>
+                       </div>
+               </form>
+       </div>
+</li>
 <li class="plugin">
        Datepicker
        <div>