CheckBoxList两列并排的显示效果相比大家都有见到过吧,下面是具体的实现代码,感兴趣的朋友可以参考下哈
代码如下:
代码如下:
#DDLGroups{border-collapse:collapse; line-height:18px}
#DDLGroups td{width:300px; border:1px solid #F0F8FF;padding-left:5px}
获取所选值:
代码如下:
//获取联系人组
$(“#DDLGroups tbody tr td input:checkbox:checked”).each(function () {
alert($(this).parent().find(“label”).html())
});
$(“#DDLGroups tbody tr td input:checkbox:checked”).each(function () {
alert($(this).parent().find(“label”).html())
});
以上来源gao@!dai!ma.com搞$$代^@码网就是CheckBoxList两列并排编译为表格显示具体实现的详细内容,更多请关注gaodaima搞代码网其它相关文章!