You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Github743 I’m not sure I understand your question fully, but on "selecting a few by default", if your <option> elements have a selected attribute set when you initiate .multiSelect() on them, then multiSelect will honour that, eg:
Note that if you add new <option> elements to the <select>after you’ve called .multiSelect() on it, the new additions won’t appear in the multiSelect dropdown.
I am setting the options as follows where I am not setting the value field is not getting set, can some one help me
function bindDropDown1(data) { $.each(data, function (i, x) { $('#selec1').append(<option value="${x.Id}">${x.Name}</option>); }); }
Also if I would like to select few by default how can I do that
The text was updated successfully, but these errors were encountered: