title: source of json in Multiselect jQuery
body: <p>I have a multiselect of jQuery and I want to get the source from json.
  I took the source code from my autocomplete combobox that works, but here it does not work.</p>
  
  <p>My code:</p>
  
  <pre><code> $(document).ready(function () {
          var warning = $("#message");
          $("select").multiselect({
              //selectedText: function (numChecked, numTotal, checkedItems) {
              //    return numChecked + ' of ' + numTotal + ' checked';
              //},
              source: function (request, response) {
                  $.getJSON('http://' + $("[id$='ip']").val() + "/JSON/Auctocomplete.aspx?city=1&amp;term=" + request.term, function (data) { response(data); });
              },
              select: function (event, ui) {
                  $("#mfr").textContent = ui.item.id;
              },
              selectedList: 5,
              header: "choose up to 5",
              click: function (e) {
                  if ($(this).multiselect("widget").find("input:checked").length &gt; 5) {
                      warning.addClass("error").removeClass("success").html("choose up to 5");
                      return false;
                  } else {
                      warning.addClass("success").removeClass("error").html("");
                  }
              }
          });
      });
  </code></pre>