日期:2014-05-16 浏览次数:20373 次
<script src="http://www.coding123.net/js/jquery.js"></script>
<script>
function select_Checked(){
var v=$('input[id="checkbox_id"]:checked').map(function(){return this.value}).get().join();
alert(v)
}
</script>
<input type="checkbox" value="1" id="checkbox_id" onclick="select_Checked()" name="checkbox_id">
<input type="checkbox" value="2" id="checkbox_id" onclick="select_Checked()" name="checkbox_id">
<input type="checkbox" value="3" id="checkbox_id" onclick="select_Checked()" name="checkbox_id">