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
The example in that part of the documentation is apparently wrong. Here's how:
// create dropdown
var myDropdown = $('selector').dropdown({a:option,b:option}).data();
// change value
myDropdown.choose('some value in the options list'); // if single choice
myDropdown.choose(['value a','value c','value z']); // if multiple choice
Can anybody tell me how could I dynamically change the selected values for this plugin using jQuery? Thanks
The text was updated successfully, but these errors were encountered: