Question: how to set selected value of multiselect dropdown in jquery?
Answer: var valArr = ["1","2","3"]; /* Below Code Matches current object's (i.e. option) value with the array values */ /* Returns -1 if match not found */ $("select"). multiselect("widget"). find(":checkbox"). each(function(){ if(jQuery.