开发者

retrieve checked option after result is displayed in multi select jquery

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");
}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜