Wählen Sie im Ajax -Anruf aus
// initialize the Selectize control
var $select = $('select').selectize(options);
// fetch the instance
var selectize = $select[0].selectize;
$ajax.success = function(data) {
selectize.clearOptions();
for (var i in data) {
selectize.addOption(i, data[i]);
}
selectize.refreshOptions()
}
ekkamrit