body中:
<td width="35%"><s:checkboxlist name="cc" id="kscc1" list="#{'AM':'上午','PM':'下午' }" value="" cssStyle="width:20px;"/>
</td>
js方法:
jQuery("input[name='cc']").each(function(){
if($(this).attr("checked")){
kscc += this.value + ",";
}
});
传到后台用split取出选中值。回显参照下面的链接