我正在尝试运行这个ajax方法,用于多选择下拉:-
success: function (data) {
var drop_down_option = '<select name="langOpt3[]" multiple id="langOpt3">';
var check = JSON.parse(data)
console.log(check);
for (var i in check) {
cons
我有一个很大的问题,我需要从下拉列表中选择多个值,为此我使用了bootstrap-multiselect.js,得到了下面的错误。
angularjs.js:107 TypeError: a.forEach is not a function
at u.writeValue (angularjs.js:273)
at f.$render (angularjs.js:285)
at Object.<anonymous> (angularjs.js:265)
at n.$digest (angularjs.js:130)
at n.$apply
<select ng-option="ubrandname as ubrandname.brand for brand in ubrandname track by ubrandname.brand" ng-model="ubrandname"></select>
这是我的下拉列表,用于调用js文件中的动态数据集
//brandnamebyid
$http.get('/brandinfo.asmx/getbrandname', {
params: {