select-multiple – how to programmatically set checked values Questions › select-multiple – how to programmatically set checked values 0 Vote Up Vote Down Alexandro Simioni asked 10 years ago Using multi-selection (select-multiple), is there any way to set programmatically checked values? 1 Answers 0 Vote Up Vote Down Abu Ghufran answered 10 years ago Here you go … <button onclick="test()" value="select"> <script> function test() { $("select").multiselect("widget").find(":checkbox:eq(3)").each(function(){ this.click(); }); } </script> You can change jquery selector of checkbox to meet your requirement. Your Answer Visual Text 9 + 16 = Login with your Social Id: Continue with Google OR, enter Your Email Your Name Attach code here and paste link in question. Attach screenshot here and paste link in question. Public Only Me & Admin How useful was this discussion? Click on a star to rate it! Submit Rating Average rating 0 / 5. Vote count: 0 No votes so far! Be the first to rate it. We are sorry that this post was not useful for you! Let us improve this post! Tell us how we can improve this post? Submit Feedback