diff options
author | Felix Nagel <info@felixnagel.com> | 2012-02-26 02:45:43 +0100 |
---|---|---|
committer | Felix Nagel <info@felixnagel.com> | 2012-02-26 02:52:23 +0100 |
commit | e299e9ad662ce1b58bc77d6283351ce2902d83e1 (patch) | |
tree | 7881cca1cefcbb6cf6f6e7a2d4e8510ad1941729 /demos/selectmenu | |
parent | 156d0fbf096377b8674b6fa2b18f026c18ea28fd (diff) | |
download | jquery-ui-e299e9ad662ce1b58bc77d6283351ce2902d83e1.tar.gz jquery-ui-e299e9ad662ce1b58bc77d6283351ce2902d83e1.zip |
Selectmenu: added empty.html visual test, small improvements in html files
Diffstat (limited to 'demos/selectmenu')
-rw-r--r-- | demos/selectmenu/custom_render.html | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/demos/selectmenu/custom_render.html b/demos/selectmenu/custom_render.html index 39d1534de..c9f962d7f 100644 --- a/demos/selectmenu/custom_render.html +++ b/demos/selectmenu/custom_render.html @@ -21,11 +21,10 @@ li.addClass( 'ui-state-disabled' ).text( item.label ); } else { el = item.element; - var link = $( "<a />", { + $( "<a />", { html: icon = '<span style="' + el.attr("style") + '" class="ui-icon ' + el.attr("class") + '"></span>' + item.label, href: '#' - }); - li.append( link ); + }).appendTo( li ); } return li.appendTo( ul ); |