diff --git a/js/ui.multiselect.js b/js/ui.multiselect.js index 1234fa7..d956e21 100755 --- a/js/ui.multiselect.js +++ b/js/ui.multiselect.js @@ -161,8 +161,13 @@ $.widget("ui.multiselect", { }, _getOptionNode: function(option) { option = $(option); - var node = $('
  • '+option.text()+'
  • ').hide(); - node.data('optionLink', option); + var node = $('
  • ') + .attr('title', option.text()) + .text(option.text()) + .prepend($("").addClass("ui-icon")) + .append($('').append($(''))) + .hide(); + node.data('optionLink', option); return node; }, // clones an item with associated data