The check box selection at the drop down list is NOT retained after the result is being populated.
sample code
$("#DDLCheck").multiselect({
header: "Select Options Below"
});
var array_of_checked_values = $(开发者_JAVA技巧"select").multiselect("getChecked").map(function () {
return this.value;
});
i want to show checked option after the search result
if (_all != null && _all != "" && _all != undefined && _all == "ALL") {
$("select").multiselect("widget").find("input:checkbox:eq(0)").trigger("click");
}
精彩评论