code: function () {
              var opts = this.parent.prepareOpts.apply(this, arguments);
  
              // TODO validate placeholder is a string if specified
  
              if (opts.element.get(0).tagName.toLowerCase() === "select") {
                  // install sthe selection initializer
                  opts.initSelection = function (element,callback) {
  
                      var data = [];
                      element.find(":selected").each2(function (i, elm) {
                          data.push({id: elm.attr("value"), text: elm.text()});
                      });
  
                      if ($.isFunction(callback))
                          callback(data);
                  };
              }
  
              return opts;
          }
docs: multi