diff --git a/jquery.fcbkcomplete.js b/jquery.fcbkcomplete.js index 2284d01..79346ce 100644 --- a/jquery.fcbkcomplete.js +++ b/jquery.fcbkcomplete.js @@ -78,7 +78,7 @@ $.each(element.children('option'), function(i, option) { option = $(option); temp_elem.data('cache')[option.val()] = option.text(); - if (option.hasClass("selected")) { + if (option.hasClass("selected") || option.attr("selected")) { var id = addItem(option.text(), option.val(), true, option.hasClass("locked")); temp_elem.append(''); }