aboutsummaryrefslogtreecommitdiffstats
path: root/demos/autocomplete/remote-jsonp.html
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2011-05-27 08:32:48 -0400
committerScott González <scott.gonzalez@gmail.com>2011-05-27 08:32:48 -0400
commitbe7da0239a5dbcd1a1458a5b642dc366fe626efe (patch)
tree67e768e25d010442f05b784c8b5e047d888d99ab /demos/autocomplete/remote-jsonp.html
parent09e88d6220af2f90197c826ac3a31a0ca97f2c8f (diff)
downloadjquery-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.html10
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>