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/custom-data.html | |
parent | 09e88d6220af2f90197c826ac3a31a0ca97f2c8f (diff) | |
download | jquery-ui-be7da0239a5dbcd1a1458a5b642dc366fe626efe.tar.gz jquery-ui-be7da0239a5dbcd1a1458a5b642dc366fe626efe.zip |
Autocomplete demos: Coding standards.
Diffstat (limited to 'demos/autocomplete/custom-data.html')
-rw-r--r-- | demos/autocomplete/custom-data.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/demos/autocomplete/custom-data.html b/demos/autocomplete/custom-data.html index a4edc4fcc..a5782cab9 100644 --- a/demos/autocomplete/custom-data.html +++ b/demos/autocomplete/custom-data.html @@ -67,7 +67,7 @@ } }) .data( "autocomplete" )._renderItem = function( ul, item ) { - return $( "<li></li>" ) + return $( "<li>" ) .data( "item.autocomplete", item ) .append( "<a>" + item.label + "<br>" + item.desc + "</a>" ) .appendTo( ul ); @@ -79,9 +79,9 @@ <div class="demo"> <div id="project-label">Select a project (type "j" for a start):</div> - <img id="project-icon" src="images/transparent_1x1.png" class="ui-state-default"/> - <input id="project"/> - <input type="hidden" id="project-id"/> + <img id="project-icon" src="images/transparent_1x1.png" class="ui-state-default"> + <input id="project"> + <input type="hidden" id="project-id"> <p id="project-description"></p> </div><!-- End demo --> |