diff options
Diffstat (limited to 'demos/functional/templates/ui.autocomplete.html')
-rw-r--r-- | demos/functional/templates/ui.autocomplete.html | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/demos/functional/templates/ui.autocomplete.html b/demos/functional/templates/ui.autocomplete.html index 4811693f9..646dd3784 100644 --- a/demos/functional/templates/ui.autocomplete.html +++ b/demos/functional/templates/ui.autocomplete.html @@ -1,32 +1,32 @@ -<script type="text/javascript">
-
- var autocomplete_data = '["aero", "airplane", "book","movie","music","sports","skating","swim"]';
-
- var model = {
-
- renderAt: '#containerDemo',
-
- title: 'Autocomplete Demos',
-
- demos: [
-
- {
- title: 'Simple autocomplete',
- desc: 'With few lines of code you could build a autocomplete. You can try more options on the fly! ',
- html: '<input id="autocomplete" type="text" /> (Try type <em>a</em>, <em>m</em> or <em>s</em>)',
- destroy: '$("#autocomplete").autocomplete("destroy");',
- options: [
- { desc: 'Attach a autocomplete', source: '$("#autocomplete").autocomplete({data:'+autocomplete_data+'});' }
- ]
- }
-
- ]
- };
-
- $(function(){
-
- uiRenderDemo(model);
-
- });
-
+<script type="text/javascript"> + + var autocomplete_data = '["aero", "airplane", "book","movie","music","sports","skating","swim"]'; + + var model = { + + renderAt: '#containerDemo', + + title: 'Autocomplete Demos', + + demos: [ + + { + title: 'Simple autocomplete', + desc: 'With few lines of code you could build a autocomplete. You can try more options on the fly! ', + html: '<input id="autocomplete" type="text" /> (Try type <em>a</em>, <em>m</em> or <em>s</em>)', + destroy: '$("#autocomplete").autocomplete("destroy");', + options: [ + { desc: 'Attach a autocomplete', source: '$("#autocomplete").autocomplete({data:'+autocomplete_data+'});' } + ] + } + + ] + }; + + $(function(){ + + uiRenderDemo(model); + + }); + </script>
\ No newline at end of file |