0
<asp:CheckBoxList ID="ckbLstPartner" runat="server" RepeatDirection="Horizontal" CssClass="cssRdlstMoheSacm">
<asp:ListItem Text="Yes" Value="1"></asp:ListItem>
<asp:ListItem Text="No" Value="0"></asp:ListItem>
</asp:CheckBoxList>
在上面的CheckBoxList,我試圖用jQuery來獲得(選擇值)來保存它並將其存儲在
在DB。請檢查下面的JQuery:確定複選框的jQuery檢查 - C#ASP,淨JQuery的
$('#<%=ckbLstPartner.ClientID %>').foreach(function() {
if ($(this).is(':checked')) {
***// ??***
}
else {
}
});
如果我想Unckeck其他選項?我該怎麼做? –