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
I have used pqselect for my website. It works very good but I have 2 question need your help.
First, how can i disable several option?
Second, how can i select several option after select control was created?
This's my jquery code:
$("#selectUserSameRole").append(optListUser); //variable "optListUser " I get from server.
$("#selectUserSameRole").pqSelect({
multiplePlaceholder: '-- Select user --',
checkbox: true //adds checkbox to options
}).on("change", function(evt) {
var val = $(this).val();
document.getElementById('lstSelectedSameRole').value = val;
}).pqSelect('open');
Tks all.
The text was updated successfully, but these errors were encountered:
Dear everyone,
I have used pqselect for my website. It works very good but I have 2 question need your help.
First, how can i disable several option?
Second, how can i select several option after select control was created?
This's my jquery code:
$("#selectUserSameRole").append(optListUser); //variable "optListUser " I get from server.
$("#selectUserSameRole").pqSelect({
multiplePlaceholder: '-- Select user --',
checkbox: true //adds checkbox to options
}).on("change", function(evt) {
var val = $(this).val();
document.getElementById('lstSelectedSameRole').value = val;
}).pqSelect('open');
Tks all.
The text was updated successfully, but these errors were encountered: