Refresh in multiselect

0

I have an application where I am using 4 multiselects, one depends on another to fill and I fill it with jquery, the first multiselect filled it with direct fields, and once I choose an option or several, I fill the second multiselect without problems, but when I want to select something from the second multiselect it is no longer taking me the value that I selected, it sends me null, I leave the code of the filling that I do in the multiselect:

$("#multiselect2id").append('<option value="' + 0 + '"></option>');
$.each(Result.objFiltro, function (index, value) {
    $("#multiselect2id")
        .append('<option value="' + value.Id + '">' + value.Nombre + '</option>')
        .multiselect('destroy')
        .multiselect();
});
    
asked by Sandra 11.10.2018 в 17:12
source

0 answers