标签:
全选<input type="checkbox" name="select" id="select" value="checkbox" onclick="selectAllCheckBox(document.frm.id,document.frm.select,this);" />
<input type=‘checkbox‘ name=‘id‘ value=‘"+list[i].id+"‘/>
var arr = $("input[type=‘checkbox‘][name=‘id‘]:checked"); var ids = ""; $.each(arr,function(index,o){ ids = ids + $(o).val()+","; }); ids = ids.substring(0,ids.length-1);
标签:
原文地址:http://www.cnblogs.com/lxcmyf/p/5740916.html