old_sql 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +4 -4
- data/Gemfile.lock +3 -8
- data/VERSION +1 -1
- data/app/views/old_sql/report/index.html.erb +5 -4
- data/old_sql.gemspec +310 -17
- data/public/javascripts/old_sql/jquery-1.5.1.min.js +16 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/css/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/css/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/css/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/css/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/css/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/css/ui-lightness/jquery-ui-1.8.13.custom.css +518 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/AUTHORS.txt +30 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/GPL-LICENSE.txt +278 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/MIT-LICENSE.txt +25 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/categories.html +71 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/combobox.html +174 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/custom-data.html +95 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/default.html +64 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/folding.html +62 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/images/jquery_32x32.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/images/jqueryui_32x32.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/images/sizzlejs_32x32.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/images/transparent_1x1.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/images/ui-anim_basic_16x16.gif +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/index.html +27 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/london.xml +114 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/maxheight.html +79 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/multiple-remote.html +84 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/multiple.html +99 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/remote-jsonp.html +86 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/remote-with-cache.html +59 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/remote.html +59 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/search.php +640 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/autocomplete/xml.html +72 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/button/checkbox.html +44 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/button/default.html +38 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/button/icons.html +56 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/button/index.html +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/button/radio.html +39 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/button/splitbutton.html +55 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/button/toolbar.html +120 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/alt-field.html +36 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/animation.html +58 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/buttonbar.html +35 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/date-formats.html +47 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/date-range.html +49 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/default.html +33 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/dropdown-month-year.html +36 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/icon-trigger.html +37 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/images/calendar.gif +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/index.html +31 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/inline.html +33 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/localization.html +162 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/min-max.html +33 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/multiple-calendars.html +36 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/other-months.html +37 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/datepicker/show-week.html +39 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/demos.css +334 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/dialog/animated.html +56 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/dialog/default.html +54 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/dialog/index.html +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/dialog/modal-confirmation.html +69 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/dialog/modal-form.html +167 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/dialog/modal-message.html +71 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/dialog/modal.html +60 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/draggable/constrain-movement.html +69 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/draggable/cursor-style.html +49 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/draggable/default.html +39 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/draggable/delay-start.html +45 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/draggable/events.html +77 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/draggable/handle.html +50 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/draggable/index.html +28 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/draggable/revert.html +44 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/draggable/scroll.html +51 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/draggable/snap-to.html +68 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/draggable/sortable.html +57 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/draggable/visual-feedback.html +77 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/droppable/accepted-elements.html +60 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/droppable/default.html +53 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/droppable/images/high_tatras.jpg +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/droppable/images/high_tatras2.jpg +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/droppable/images/high_tatras2_min.jpg +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/droppable/images/high_tatras3.jpg +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/droppable/images/high_tatras3_min.jpg +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/droppable/images/high_tatras4.jpg +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/droppable/images/high_tatras4_min.jpg +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/droppable/images/high_tatras_min.jpg +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/droppable/index.html +24 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/droppable/photo-manager.html +184 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/droppable/propagation.html +80 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/droppable/revert.html +61 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/droppable/shopping-cart.html +101 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/droppable/visual-feedback.html +78 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/images/calendar.gif +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/images/demo-config-on-tile.gif +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/images/demo-config-on.gif +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/images/demo-spindown-closed.gif +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/images/demo-spindown-open.gif +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/images/icon-docs-info.gif +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/images/pbar-ani.gif +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/index.html +321 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/position/cycler.html +122 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/position/default.html +153 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/position/images/earth.jpg +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/position/images/flight.jpg +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/position/images/rocket.jpg +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/position/index.html +19 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/progressbar/animated.html +44 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/progressbar/default.html +35 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/progressbar/images/pbar-ani.gif +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/progressbar/index.html +20 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/progressbar/resize.html +40 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/resizable/animate.html +43 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/resizable/aspect-ratio.html +42 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/resizable/constrain-area.html +47 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/resizable/default.html +40 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/resizable/delay-start.html +52 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/resizable/helper.html +43 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/resizable/index.html +28 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/resizable/max-min.html +45 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/resizable/snap-to-grid.html +42 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/resizable/synchronous-resize.html +49 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/resizable/textarea.html +41 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/resizable/visual-feedback.html +43 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/selectable/default.html +50 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/selectable/display-grid.html +55 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/selectable/index.html +20 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/selectable/serialize.html +61 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/sortable/connect-lists-through-tabs.html +78 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/sortable/connect-lists.html +58 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/sortable/default.html +51 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/sortable/delay-start.html +67 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/sortable/display-grid.html +54 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/sortable/empty-lists.html +69 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/sortable/index.html +26 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/sortable/items.html +70 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/sortable/placeholder.html +56 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/demos/sortable/portlets.html +96 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/docs/autocomplete.html +875 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/docs/button.html +500 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/docs/datepicker.html +2570 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/docs/dialog.html +1698 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/docs/draggable.html +1577 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/docs/droppable.html +829 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/docs/position.html +227 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/docs/progressbar.html +460 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/docs/resizable.html +1201 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/docs/selectable.html +848 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/docs/sortable.html +1953 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/external/jquery.bgiframe-2.1.2.js +39 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/external/jquery.cookie.js +89 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/external/jquery.metadata.js +122 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/external/qunit.css +153 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/external/qunit.js +1261 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/jquery-1.5.1.js +8316 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/images/ui-icons_222222_256x240.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/images/ui-icons_2e83ff_256x240.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/images/ui-icons_454545_256x240.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/images/ui-icons_888888_256x240.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/jquery.ui.all.css +11 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/jquery.ui.autocomplete.css +53 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/jquery.ui.base.css +8 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/jquery.ui.button.css +38 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/jquery.ui.core.css +41 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/jquery.ui.datepicker.css +68 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/jquery.ui.dialog.css +21 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/jquery.ui.progressbar.css +11 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/jquery.ui.resizable.css +25 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/jquery.ui.selectable.css +10 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/base/jquery.ui.theme.css +252 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/jquery-ui-1.8.13.custom.css +518 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/jquery.ui.all.css +11 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/jquery.ui.autocomplete.css +53 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/jquery.ui.base.css +8 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/jquery.ui.button.css +38 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/jquery.ui.core.css +41 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/jquery.ui.datepicker.css +68 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/jquery.ui.dialog.css +21 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/jquery.ui.progressbar.css +11 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/jquery.ui.resizable.css +25 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/jquery.ui.selectable.css +10 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/themes/ui-lightness/jquery.ui.theme.css +254 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery-ui-i18n.js +1379 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-af.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-ar-DZ.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-ar.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-az.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-bg.js +24 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-bs.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-ca.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-cs.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-da.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-de.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-el.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-en-AU.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-en-GB.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-en-NZ.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-eo.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-es.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-et.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-eu.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-fa.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-fi.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-fo.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-fr-CH.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-fr.js +25 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-gl.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-he.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-hr.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-hu.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-hy.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-id.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-is.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-it.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-ja.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-ko.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-kz.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-lt.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-lv.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-ml.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-ms.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-nl.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-no.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-pl.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-pt-BR.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-pt.js +22 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-rm.js +21 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-ro.js +26 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-ru.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-sk.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-sl.js +24 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-sq.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-sr-SR.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-sr.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-sv.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-ta.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-th.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-tj.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-tr.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-uk.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-vi.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-zh-CN.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-zh-HK.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/i18n/jquery.ui.datepicker-zh-TW.js +23 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery-ui-1.8.13.custom.js +8021 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery.ui.autocomplete.js +612 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery.ui.button.js +388 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery.ui.core.js +312 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery.ui.datepicker.js +1791 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery.ui.dialog.js +878 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery.ui.draggable.js +815 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery.ui.droppable.js +285 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery.ui.mouse.js +160 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery.ui.position.js +252 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery.ui.progressbar.js +109 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery.ui.resizable.js +814 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery.ui.selectable.js +266 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery.ui.sortable.js +1077 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/jquery.ui.widget.js +262 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/minified/jquery.ui.autocomplete.min.js +32 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/minified/jquery.ui.button.min.js +25 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/minified/jquery.ui.core.min.js +17 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/minified/jquery.ui.datepicker.min.js +82 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/minified/jquery.ui.dialog.min.js +40 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/minified/jquery.ui.draggable.min.js +50 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/minified/jquery.ui.droppable.min.js +26 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/minified/jquery.ui.mouse.min.js +17 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/minified/jquery.ui.position.min.js +16 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/minified/jquery.ui.progressbar.min.js +16 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/minified/jquery.ui.resizable.min.js +48 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/minified/jquery.ui.selectable.min.js +22 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/minified/jquery.ui.sortable.min.js +60 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/ui/minified/jquery.ui.widget.min.js +15 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/development-bundle/version.txt +1 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/index.html +321 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/js/jquery-1.5.1.min.js +16 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom (3)/js/jquery-ui-1.8.13.custom.min.js +467 -0
- data/public/javascripts/old_sql/jquery-ui-1.8.13.custom.min.js +467 -0
- data/test/dummy/Gemfile +1 -1
- data/test/dummy/Gemfile.lock +3 -3
- metadata +309 -40
- data/pkg/old_sql-0.1.0.gem +0 -0
- data/pkg/old_sql-0.2.0.gem +0 -0
- data/pkg/old_sql-0.3.0.gem +0 -0
- data/pkg/old_sql-0.4.0.gem +0 -0
@@ -0,0 +1,64 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<title>jQuery UI Autocomplete - Default functionality</title>
|
6
|
+
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
|
7
|
+
<script src="../../jquery-1.5.1.js"></script>
|
8
|
+
<script src="../../ui/jquery.ui.core.js"></script>
|
9
|
+
<script src="../../ui/jquery.ui.widget.js"></script>
|
10
|
+
<script src="../../ui/jquery.ui.position.js"></script>
|
11
|
+
<script src="../../ui/jquery.ui.autocomplete.js"></script>
|
12
|
+
<link rel="stylesheet" href="../demos.css">
|
13
|
+
<script>
|
14
|
+
$(function() {
|
15
|
+
var availableTags = [
|
16
|
+
"ActionScript",
|
17
|
+
"AppleScript",
|
18
|
+
"Asp",
|
19
|
+
"BASIC",
|
20
|
+
"C",
|
21
|
+
"C++",
|
22
|
+
"Clojure",
|
23
|
+
"COBOL",
|
24
|
+
"ColdFusion",
|
25
|
+
"Erlang",
|
26
|
+
"Fortran",
|
27
|
+
"Groovy",
|
28
|
+
"Haskell",
|
29
|
+
"Java",
|
30
|
+
"JavaScript",
|
31
|
+
"Lisp",
|
32
|
+
"Perl",
|
33
|
+
"PHP",
|
34
|
+
"Python",
|
35
|
+
"Ruby",
|
36
|
+
"Scala",
|
37
|
+
"Scheme"
|
38
|
+
];
|
39
|
+
$( "#tags" ).autocomplete({
|
40
|
+
source: availableTags
|
41
|
+
});
|
42
|
+
});
|
43
|
+
</script>
|
44
|
+
</head>
|
45
|
+
<body>
|
46
|
+
|
47
|
+
<div class="demo">
|
48
|
+
|
49
|
+
<div class="ui-widget">
|
50
|
+
<label for="tags">Tags: </label>
|
51
|
+
<input id="tags" />
|
52
|
+
</div>
|
53
|
+
|
54
|
+
</div><!-- End demo -->
|
55
|
+
|
56
|
+
|
57
|
+
|
58
|
+
<div class="demo-description">
|
59
|
+
<p>The Autocomplete widgets provides suggestions while you type into the field. Here the suggestions are tags for programming languages, give "ja" (for Java or JavaScript) a try.</p>
|
60
|
+
<p>The datasource is a simple JavaScript array, provided to the widget using the source-option.</p>
|
61
|
+
</div><!-- End demo-description -->
|
62
|
+
|
63
|
+
</body>
|
64
|
+
</html>
|
@@ -0,0 +1,62 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<title>jQuery UI Autocomplete - Accent folding</title>
|
6
|
+
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
|
7
|
+
<script src="../../jquery-1.5.1.js"></script>
|
8
|
+
<script src="../../ui/jquery.ui.core.js"></script>
|
9
|
+
<script src="../../ui/jquery.ui.widget.js"></script>
|
10
|
+
<script src="../../ui/jquery.ui.position.js"></script>
|
11
|
+
<script src="../../ui/jquery.ui.autocomplete.js"></script>
|
12
|
+
<link rel="stylesheet" href="../demos.css">
|
13
|
+
<script>
|
14
|
+
$(function() {
|
15
|
+
var names = [ "Jörn Zaefferer", "Scott González", "John Resig" ];
|
16
|
+
|
17
|
+
var accentMap = {
|
18
|
+
"á": "a",
|
19
|
+
"ö": "o"
|
20
|
+
};
|
21
|
+
var normalize = function( term ) {
|
22
|
+
var ret = "";
|
23
|
+
for ( var i = 0; i < term.length; i++ ) {
|
24
|
+
ret += accentMap[ term.charAt(i) ] || term.charAt(i);
|
25
|
+
}
|
26
|
+
return ret;
|
27
|
+
};
|
28
|
+
|
29
|
+
$( "#developer" ).autocomplete({
|
30
|
+
source: function( request, response ) {
|
31
|
+
var matcher = new RegExp( $.ui.autocomplete.escapeRegex( request.term ), "i" );
|
32
|
+
response( $.grep( names, function( value ) {
|
33
|
+
value = value.label || value.value || value;
|
34
|
+
return matcher.test( value ) || matcher.test( normalize( value ) );
|
35
|
+
}) );
|
36
|
+
}
|
37
|
+
});
|
38
|
+
});
|
39
|
+
</script>
|
40
|
+
</head>
|
41
|
+
<body>
|
42
|
+
|
43
|
+
<div class="demo">
|
44
|
+
|
45
|
+
<div class="ui-widget">
|
46
|
+
<form>
|
47
|
+
<label for="developer">Developer: </label>
|
48
|
+
<input id="developer" />
|
49
|
+
</form>
|
50
|
+
</div>
|
51
|
+
|
52
|
+
</div><!-- End demo -->
|
53
|
+
|
54
|
+
|
55
|
+
|
56
|
+
<div class="demo-description">
|
57
|
+
<p>The autocomplete field uses a custom source option which will match results that have accented characters even when the text field doesn't contain accented characters. However if the you type in accented characters in the text field it is smart enough not to show results that aren't accented.</p>
|
58
|
+
<p>Try typing "Jo" to see "John" and "Jörn", then type "Jö" to see only "Jörn".</p>
|
59
|
+
</div><!-- End demo-description -->
|
60
|
+
|
61
|
+
</body>
|
62
|
+
</html>
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,27 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<title>jQuery UI Autocomplete Demos</title>
|
6
|
+
<link rel="stylesheet" href="../demos.css">
|
7
|
+
</head>
|
8
|
+
<body>
|
9
|
+
<div class="demos-nav">
|
10
|
+
<h4>Examples</h4>
|
11
|
+
<ul>
|
12
|
+
<li class="demo-config-on"><a href="default.html">Default functionality</a></li>
|
13
|
+
<li><a href="remote.html">Remote datasource</a></li>
|
14
|
+
<li><a href="remote-with-cache.html">Remote with caching</a></li>
|
15
|
+
<li><a href="remote-jsonp.html">Remote JSONP datasource</a></li>
|
16
|
+
<li><a href="maxheight.html">Scrollable results</a></li>
|
17
|
+
<li><a href="combobox.html">Combobox</a></li>
|
18
|
+
<li><a href="custom-data.html">Custom data and display</a></li>
|
19
|
+
<li><a href="xml.html">XML data parsed once</a></li>
|
20
|
+
<li><a href="categories.html">Categories</a></li>
|
21
|
+
<li><a href="folding.html">Accent folding</a></li>
|
22
|
+
<li><a href="multiple.html">Multiple values</a></li>
|
23
|
+
<li><a href="multiple-remote.html">Multiple, remote</a></li>
|
24
|
+
</ul>
|
25
|
+
</div>
|
26
|
+
</body>
|
27
|
+
</html>
|
@@ -0,0 +1,114 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2
|
+
<geonames style="MEDIUM">
|
3
|
+
<totalResultsCount>6987</totalResultsCount>
|
4
|
+
<geoname>
|
5
|
+
<name>London</name>
|
6
|
+
<lat>51.5084152563931</lat>
|
7
|
+
<lng>-0.125532746315002</lng>
|
8
|
+
<geonameId>2643743</geonameId>
|
9
|
+
<countryCode>GB</countryCode>
|
10
|
+
<countryName>United Kingdom</countryName>
|
11
|
+
|
12
|
+
<fcl>P</fcl>
|
13
|
+
<fcode>PPLC</fcode>
|
14
|
+
</geoname>
|
15
|
+
<geoname>
|
16
|
+
<name>London</name>
|
17
|
+
<lat>42.983389283</lat>
|
18
|
+
<lng>-81.233042387</lng>
|
19
|
+
<geonameId>6058560</geonameId>
|
20
|
+
<countryCode>CA</countryCode>
|
21
|
+
<countryName>Canada</countryName>
|
22
|
+
|
23
|
+
<fcl>P</fcl>
|
24
|
+
<fcode>PPL</fcode>
|
25
|
+
</geoname>
|
26
|
+
<geoname>
|
27
|
+
<name>East London</name>
|
28
|
+
<lat>-33.0152850934643</lat>
|
29
|
+
<lng>27.9116249084473</lng>
|
30
|
+
<geonameId>1006984</geonameId>
|
31
|
+
<countryCode>ZA</countryCode>
|
32
|
+
<countryName>South Africa</countryName>
|
33
|
+
|
34
|
+
<fcl>P</fcl>
|
35
|
+
<fcode>PPL</fcode>
|
36
|
+
</geoname>
|
37
|
+
<geoname>
|
38
|
+
<name>City</name>
|
39
|
+
<lat>51.5133363996235</lat>
|
40
|
+
<lng>-0.0890064239501953</lng>
|
41
|
+
<geonameId>2643744</geonameId>
|
42
|
+
<countryCode>GB</countryCode>
|
43
|
+
<countryName>United Kingdom</countryName>
|
44
|
+
|
45
|
+
<fcl>A</fcl>
|
46
|
+
<fcode>ADM2</fcode>
|
47
|
+
</geoname>
|
48
|
+
<geoname>
|
49
|
+
<name>London</name>
|
50
|
+
<lat>37.1289771</lat>
|
51
|
+
<lng>-84.0832646</lng>
|
52
|
+
<geonameId>4298960</geonameId>
|
53
|
+
<countryCode>US</countryCode>
|
54
|
+
<countryName>United States</countryName>
|
55
|
+
|
56
|
+
<fcl>P</fcl>
|
57
|
+
<fcode>PPL</fcode>
|
58
|
+
</geoname>
|
59
|
+
<geoname>
|
60
|
+
<name>The Tower of London</name>
|
61
|
+
<lat>51.5082349601834</lat>
|
62
|
+
<lng>-0.0763034820556641</lng>
|
63
|
+
<geonameId>6286786</geonameId>
|
64
|
+
<countryCode>GB</countryCode>
|
65
|
+
<countryName>United Kingdom</countryName>
|
66
|
+
|
67
|
+
<fcl>S</fcl>
|
68
|
+
<fcode>CSTL</fcode>
|
69
|
+
</geoname>
|
70
|
+
<geoname>
|
71
|
+
<name>London Reefs</name>
|
72
|
+
<lat>8.85</lat>
|
73
|
+
<lng>112.5333333</lng>
|
74
|
+
<geonameId>1879967</geonameId>
|
75
|
+
<countryCode> </countryCode>
|
76
|
+
<countryName> </countryName>
|
77
|
+
|
78
|
+
<fcl>U</fcl>
|
79
|
+
<fcode>RFSU</fcode>
|
80
|
+
</geoname>
|
81
|
+
<geoname>
|
82
|
+
<name>Greater London</name>
|
83
|
+
<lat>51.5</lat>
|
84
|
+
<lng>-0.1666667</lng>
|
85
|
+
<geonameId>2648110</geonameId>
|
86
|
+
<countryCode>GB</countryCode>
|
87
|
+
<countryName>United Kingdom</countryName>
|
88
|
+
|
89
|
+
<fcl>A</fcl>
|
90
|
+
<fcode>ADM2</fcode>
|
91
|
+
</geoname>
|
92
|
+
<geoname>
|
93
|
+
<name>London</name>
|
94
|
+
<lat>46.1666667</lat>
|
95
|
+
<lng>6.0166667</lng>
|
96
|
+
<geonameId>2661811</geonameId>
|
97
|
+
<countryCode>CH</countryCode>
|
98
|
+
<countryName>Switzerland</countryName>
|
99
|
+
|
100
|
+
<fcl>H</fcl>
|
101
|
+
<fcode>STM</fcode>
|
102
|
+
</geoname>
|
103
|
+
<geoname>
|
104
|
+
<name>London Borough of Islington</name>
|
105
|
+
<lat>51.5333333</lat>
|
106
|
+
<lng>-0.1333333</lng>
|
107
|
+
<geonameId>3333156</geonameId>
|
108
|
+
<countryCode>GB</countryCode>
|
109
|
+
<countryName>United Kingdom</countryName>
|
110
|
+
|
111
|
+
<fcl>A</fcl>
|
112
|
+
<fcode>ADM2</fcode>
|
113
|
+
</geoname>
|
114
|
+
</geonames>
|
@@ -0,0 +1,79 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<title>jQuery UI Autocomplete - Scrollable results</title>
|
6
|
+
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
|
7
|
+
<script src="../../jquery-1.5.1.js"></script>
|
8
|
+
<script src="../../ui/jquery.ui.core.js"></script>
|
9
|
+
<script src="../../ui/jquery.ui.widget.js"></script>
|
10
|
+
<script src="../../ui/jquery.ui.position.js"></script>
|
11
|
+
<script src="../../ui/jquery.ui.autocomplete.js"></script>
|
12
|
+
<link rel="stylesheet" href="../demos.css">
|
13
|
+
<style>
|
14
|
+
.ui-autocomplete {
|
15
|
+
max-height: 100px;
|
16
|
+
overflow-y: auto;
|
17
|
+
/* prevent horizontal scrollbar */
|
18
|
+
overflow-x: hidden;
|
19
|
+
/* add padding to account for vertical scrollbar */
|
20
|
+
padding-right: 20px;
|
21
|
+
}
|
22
|
+
/* IE 6 doesn't support max-height
|
23
|
+
* we use height instead, but this forces the menu to always be this tall
|
24
|
+
*/
|
25
|
+
* html .ui-autocomplete {
|
26
|
+
height: 100px;
|
27
|
+
}
|
28
|
+
</style>
|
29
|
+
<script>
|
30
|
+
$(function() {
|
31
|
+
var availableTags = [
|
32
|
+
"ActionScript",
|
33
|
+
"AppleScript",
|
34
|
+
"Asp",
|
35
|
+
"BASIC",
|
36
|
+
"C",
|
37
|
+
"C++",
|
38
|
+
"Clojure",
|
39
|
+
"COBOL",
|
40
|
+
"ColdFusion",
|
41
|
+
"Erlang",
|
42
|
+
"Fortran",
|
43
|
+
"Groovy",
|
44
|
+
"Haskell",
|
45
|
+
"Java",
|
46
|
+
"JavaScript",
|
47
|
+
"Lisp",
|
48
|
+
"Perl",
|
49
|
+
"PHP",
|
50
|
+
"Python",
|
51
|
+
"Ruby",
|
52
|
+
"Scala",
|
53
|
+
"Scheme"
|
54
|
+
];
|
55
|
+
$( "#tags" ).autocomplete({
|
56
|
+
source: availableTags
|
57
|
+
});
|
58
|
+
});
|
59
|
+
</script>
|
60
|
+
</head>
|
61
|
+
<body>
|
62
|
+
|
63
|
+
<div class="demo">
|
64
|
+
|
65
|
+
<div class="ui-widget">
|
66
|
+
<label for="tags">Tags: </label>
|
67
|
+
<input id="tags" />
|
68
|
+
</div>
|
69
|
+
|
70
|
+
</div><!-- End demo -->
|
71
|
+
|
72
|
+
|
73
|
+
|
74
|
+
<div class="demo-description">
|
75
|
+
<p>When displaying a long list of options, you can simply set the max-height for the autocomplete menu to prevent the menu from growing too large. Try typing "a" or "s" above to get a long list of results that you can scroll through.</p>
|
76
|
+
</div><!-- End demo-description -->
|
77
|
+
|
78
|
+
</body>
|
79
|
+
</html>
|
@@ -0,0 +1,84 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<title>jQuery UI Autocomplete - Multiple, remote</title>
|
6
|
+
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
|
7
|
+
<script src="../../jquery-1.5.1.js"></script>
|
8
|
+
<script src="../../ui/jquery.ui.core.js"></script>
|
9
|
+
<script src="../../ui/jquery.ui.widget.js"></script>
|
10
|
+
<script src="../../ui/jquery.ui.position.js"></script>
|
11
|
+
<script src="../../ui/jquery.ui.autocomplete.js"></script>
|
12
|
+
<link rel="stylesheet" href="../demos.css">
|
13
|
+
<style>
|
14
|
+
.ui-autocomplete-loading { background: white url('images/ui-anim_basic_16x16.gif') right center no-repeat; }
|
15
|
+
</style>
|
16
|
+
<script>
|
17
|
+
$(function() {
|
18
|
+
function split( val ) {
|
19
|
+
return val.split( /,\s*/ );
|
20
|
+
}
|
21
|
+
function extractLast( term ) {
|
22
|
+
return split( term ).pop();
|
23
|
+
}
|
24
|
+
|
25
|
+
$( "#birds" )
|
26
|
+
// don't navigate away from the field on tab when selecting an item
|
27
|
+
.bind( "keydown", function( event ) {
|
28
|
+
if ( event.keyCode === $.ui.keyCode.TAB &&
|
29
|
+
$( this ).data( "autocomplete" ).menu.active ) {
|
30
|
+
event.preventDefault();
|
31
|
+
}
|
32
|
+
})
|
33
|
+
.autocomplete({
|
34
|
+
source: function( request, response ) {
|
35
|
+
$.getJSON( "search.php", {
|
36
|
+
term: extractLast( request.term )
|
37
|
+
}, response );
|
38
|
+
},
|
39
|
+
search: function() {
|
40
|
+
// custom minLength
|
41
|
+
var term = extractLast( this.value );
|
42
|
+
if ( term.length < 2 ) {
|
43
|
+
return false;
|
44
|
+
}
|
45
|
+
},
|
46
|
+
focus: function() {
|
47
|
+
// prevent value inserted on focus
|
48
|
+
return false;
|
49
|
+
},
|
50
|
+
select: function( event, ui ) {
|
51
|
+
var terms = split( this.value );
|
52
|
+
// remove the current input
|
53
|
+
terms.pop();
|
54
|
+
// add the selected item
|
55
|
+
terms.push( ui.item.value );
|
56
|
+
// add placeholder to get the comma-and-space at the end
|
57
|
+
terms.push( "" );
|
58
|
+
this.value = terms.join( ", " );
|
59
|
+
return false;
|
60
|
+
}
|
61
|
+
});
|
62
|
+
});
|
63
|
+
</script>
|
64
|
+
</head>
|
65
|
+
<body>
|
66
|
+
|
67
|
+
<div class="demo">
|
68
|
+
|
69
|
+
<div class="ui-widget">
|
70
|
+
<label for="birds">Birds: </label>
|
71
|
+
<input id="birds" size="50" />
|
72
|
+
</div>
|
73
|
+
|
74
|
+
</div><!-- End demo -->
|
75
|
+
|
76
|
+
|
77
|
+
|
78
|
+
<div class="demo-description">
|
79
|
+
<p>Usage: Enter at least two characters to get bird name suggestions. Select a value to continue adding more names.</p>
|
80
|
+
<p>This is an example showing how to use the source-option along with some events to enable autocompleting multiple values into a single field.</p>
|
81
|
+
</div><!-- End demo-description -->
|
82
|
+
|
83
|
+
</body>
|
84
|
+
</html>
|
@@ -0,0 +1,99 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<title>jQuery UI Autocomplete - Multiple values</title>
|
6
|
+
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
|
7
|
+
<script src="../../jquery-1.5.1.js"></script>
|
8
|
+
<script src="../../ui/jquery.ui.core.js"></script>
|
9
|
+
<script src="../../ui/jquery.ui.widget.js"></script>
|
10
|
+
<script src="../../ui/jquery.ui.position.js"></script>
|
11
|
+
<script src="../../ui/jquery.ui.autocomplete.js"></script>
|
12
|
+
<link rel="stylesheet" href="../demos.css">
|
13
|
+
<script>
|
14
|
+
$(function() {
|
15
|
+
var availableTags = [
|
16
|
+
"ActionScript",
|
17
|
+
"AppleScript",
|
18
|
+
"Asp",
|
19
|
+
"BASIC",
|
20
|
+
"C",
|
21
|
+
"C++",
|
22
|
+
"Clojure",
|
23
|
+
"COBOL",
|
24
|
+
"ColdFusion",
|
25
|
+
"Erlang",
|
26
|
+
"Fortran",
|
27
|
+
"Groovy",
|
28
|
+
"Haskell",
|
29
|
+
"Java",
|
30
|
+
"JavaScript",
|
31
|
+
"Lisp",
|
32
|
+
"Perl",
|
33
|
+
"PHP",
|
34
|
+
"Python",
|
35
|
+
"Ruby",
|
36
|
+
"Scala",
|
37
|
+
"Scheme"
|
38
|
+
];
|
39
|
+
function split( val ) {
|
40
|
+
return val.split( /,\s*/ );
|
41
|
+
}
|
42
|
+
function extractLast( term ) {
|
43
|
+
return split( term ).pop();
|
44
|
+
}
|
45
|
+
|
46
|
+
$( "#tags" )
|
47
|
+
// don't navigate away from the field on tab when selecting an item
|
48
|
+
.bind( "keydown", function( event ) {
|
49
|
+
if ( event.keyCode === $.ui.keyCode.TAB &&
|
50
|
+
$( this ).data( "autocomplete" ).menu.active ) {
|
51
|
+
event.preventDefault();
|
52
|
+
}
|
53
|
+
})
|
54
|
+
.autocomplete({
|
55
|
+
minLength: 0,
|
56
|
+
source: function( request, response ) {
|
57
|
+
// delegate back to autocomplete, but extract the last term
|
58
|
+
response( $.ui.autocomplete.filter(
|
59
|
+
availableTags, extractLast( request.term ) ) );
|
60
|
+
},
|
61
|
+
focus: function() {
|
62
|
+
// prevent value inserted on focus
|
63
|
+
return false;
|
64
|
+
},
|
65
|
+
select: function( event, ui ) {
|
66
|
+
var terms = split( this.value );
|
67
|
+
// remove the current input
|
68
|
+
terms.pop();
|
69
|
+
// add the selected item
|
70
|
+
terms.push( ui.item.value );
|
71
|
+
// add placeholder to get the comma-and-space at the end
|
72
|
+
terms.push( "" );
|
73
|
+
this.value = terms.join( ", " );
|
74
|
+
return false;
|
75
|
+
}
|
76
|
+
});
|
77
|
+
});
|
78
|
+
</script>
|
79
|
+
</head>
|
80
|
+
<body>
|
81
|
+
|
82
|
+
<div class="demo">
|
83
|
+
|
84
|
+
<div class="ui-widget">
|
85
|
+
<label for="tags">Tag programming languages: </label>
|
86
|
+
<input id="tags" size="50" />
|
87
|
+
</div>
|
88
|
+
|
89
|
+
</div><!-- End demo -->
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
<div class="demo-description">
|
94
|
+
<p>Usage: Type something, eg. "j" to see suggestions for tagging with programming languages. Select a value, then continue typing to add more.</p>
|
95
|
+
<p>This is an example showing how to use the source-option along with some events to enable autocompleting multiple values into a single field.</p>
|
96
|
+
</div><!-- End demo-description -->
|
97
|
+
|
98
|
+
</body>
|
99
|
+
</html>
|
@@ -0,0 +1,86 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<title>jQuery UI Autocomplete - Remote JSONP datasource</title>
|
6
|
+
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
|
7
|
+
<script src="../../jquery-1.5.1.js"></script>
|
8
|
+
<script src="../../ui/jquery.ui.core.js"></script>
|
9
|
+
<script src="../../ui/jquery.ui.widget.js"></script>
|
10
|
+
<script src="../../ui/jquery.ui.position.js"></script>
|
11
|
+
<script src="../../ui/jquery.ui.autocomplete.js"></script>
|
12
|
+
<link rel="stylesheet" href="../demos.css">
|
13
|
+
<style>
|
14
|
+
.ui-autocomplete-loading { background: white url('images/ui-anim_basic_16x16.gif') right center no-repeat; }
|
15
|
+
#city { width: 25em; }
|
16
|
+
</style>
|
17
|
+
<script>
|
18
|
+
$(function() {
|
19
|
+
function log( message ) {
|
20
|
+
$( "<div/>" ).text( message ).prependTo( "#log" );
|
21
|
+
$( "#log" ).attr( "scrollTop", 0 );
|
22
|
+
}
|
23
|
+
|
24
|
+
$( "#city" ).autocomplete({
|
25
|
+
source: function( request, response ) {
|
26
|
+
$.ajax({
|
27
|
+
url: "http://ws.geonames.org/searchJSON",
|
28
|
+
dataType: "jsonp",
|
29
|
+
data: {
|
30
|
+
featureClass: "P",
|
31
|
+
style: "full",
|
32
|
+
maxRows: 12,
|
33
|
+
name_startsWith: request.term
|
34
|
+
},
|
35
|
+
success: function( data ) {
|
36
|
+
response( $.map( data.geonames, function( item ) {
|
37
|
+
return {
|
38
|
+
label: item.name + (item.adminName1 ? ", " + item.adminName1 : "") + ", " + item.countryName,
|
39
|
+
value: item.name
|
40
|
+
}
|
41
|
+
}));
|
42
|
+
}
|
43
|
+
});
|
44
|
+
},
|
45
|
+
minLength: 2,
|
46
|
+
select: function( event, ui ) {
|
47
|
+
log( ui.item ?
|
48
|
+
"Selected: " + ui.item.label :
|
49
|
+
"Nothing selected, input was " + this.value);
|
50
|
+
},
|
51
|
+
open: function() {
|
52
|
+
$( this ).removeClass( "ui-corner-all" ).addClass( "ui-corner-top" );
|
53
|
+
},
|
54
|
+
close: function() {
|
55
|
+
$( this ).removeClass( "ui-corner-top" ).addClass( "ui-corner-all" );
|
56
|
+
}
|
57
|
+
});
|
58
|
+
});
|
59
|
+
</script>
|
60
|
+
</head>
|
61
|
+
<body>
|
62
|
+
|
63
|
+
<div class="demo">
|
64
|
+
|
65
|
+
<div class="ui-widget">
|
66
|
+
<label for="city">Your city: </label>
|
67
|
+
<input id="city" />
|
68
|
+
Powered by <a href="http://geonames.org">geonames.org</a>
|
69
|
+
</div>
|
70
|
+
|
71
|
+
<div class="ui-widget" style="margin-top:2em; font-family:Arial">
|
72
|
+
Result:
|
73
|
+
<div id="log" style="height: 200px; width: 300px; overflow: auto;" class="ui-widget-content"></div>
|
74
|
+
</div>
|
75
|
+
|
76
|
+
</div><!-- End demo -->
|
77
|
+
|
78
|
+
|
79
|
+
|
80
|
+
<div class="demo-description">
|
81
|
+
<p>The Autocomplete widgets provides suggestions while you type into the field. Here the suggestions are cities, displayed when at least two characters are entered into the field.</p>
|
82
|
+
<p>In this case, the datasource is the <a href="http://geonames.org">geonames.org webservice</a>. While only the city name itself ends up in the input after selecting an element, more info is displayed in the suggestions to help find the right entry. That data is also available in callbacks, as illustrated by the Result area below the input.</p>
|
83
|
+
</div><!-- End demo-description -->
|
84
|
+
|
85
|
+
</body>
|
86
|
+
</html>
|