diff --git a/js/ui.multiselect.js b/js/ui.multiselect.js index 2608791..691b7c8 100755 --- a/js/ui.multiselect.js +++ b/js/ui.multiselect.js @@ -163,7 +163,14 @@ $.widget("ui.multiselect", { }, _getOptionNode: function(option) { option = $(option); - var node = $('
  • '+option.text()+'
  • ').hide(); + var node = $('
  • ', + { + class: 'ui-state-default ui-element', + title: option.text(), + 'data-selected-value': option.val() + }) + .append(''+option.html()+'
  • ') + .hide(); node.data('optionLink', option); return node; },