diff options
author | Scott González <scott.gonzalez@gmail.com> | 2011-05-27 08:32:48 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2011-05-27 08:32:48 -0400 |
commit | be7da0239a5dbcd1a1458a5b642dc366fe626efe (patch) | |
tree | 67e768e25d010442f05b784c8b5e047d888d99ab /demos/autocomplete/remote-jsonp.html | |
parent | 09e88d6220af2f90197c826ac3a31a0ca97f2c8f (diff) | |
download | jquery-ui-be7da0239a5dbcd1a1458a5b642dc366fe626efe.tar.gz jquery-ui-be7da0239a5dbcd1a1458a5b642dc366fe626efe.zip |
Autocomplete demos: Coding standards.
Diffstat (limited to 'demos/autocomplete/remote-jsonp.html')
-rw-r--r-- | demos/autocomplete/remote-jsonp.html | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/demos/autocomplete/remote-jsonp.html b/demos/autocomplete/remote-jsonp.html index 1cc71d1e3..bfcbc0607 100644 --- a/demos/autocomplete/remote-jsonp.html +++ b/demos/autocomplete/remote-jsonp.html @@ -12,14 +12,16 @@ <script src="../../ui/jquery.ui.autocomplete.js"></script> <link rel="stylesheet" href="../demos.css"> <style> - .ui-autocomplete-loading { background: white url('images/ui-anim_basic_16x16.gif') right center no-repeat; } + .ui-autocomplete-loading { + background: white url('images/ui-anim_basic_16x16.gif') right center no-repeat; + } #city { width: 25em; } </style> <script> $(function() { function log( message ) { - $( "<div/>" ).text( message ).prependTo( "#log" ); - $( "#log" ).attr( "scrollTop", 0 ); + $( "<div>" ).text( message ).prependTo( "#log" ); + $( "#log" ).scrollTop( 0 ); } $( "#city" ).autocomplete({ @@ -65,7 +67,7 @@ <div class="ui-widget"> <label for="city">Your city: </label> - <input id="city" /> + <input id="city"> Powered by <a href="http://geonames.org">geonames.org</a> </div> |