diff --git a/demos/selectmenu/custom_render.html b/demos/selectmenu/custom_render.html index f1608cf3c..8ce8a4027 100644 --- a/demos/selectmenu/custom_render.html +++ b/demos/selectmenu/custom_render.html @@ -16,7 +16,7 @@ $.widget( "custom.iconselectmenu", $.ui.selectmenu, { _renderItem: function( ul, item ) { - var li = $( "
" ).data( "item.selectmenu", item ); + var li = $( "" ).data( "ui-selectmenu-item", item ); if ( item.disabled ) { li.addClass( 'ui-state-disabled' ).text( item.label ); } else {