<script>
$(document).ready(function(){
$("#Submit").click(function(){
var str='';
var chenked=$("input[type='checkbox']:checked").val([]);
for(var i=0;i<chenked.length;i++){
str+=chenked[i].value+",";
}
$.post(
'index.php&id='+str,
{id:str},
function(data){
alert(data);
}
);
});
});
</script>
<body>
<label>
<input type="checkbox" name="checkbox" value="1" />
1</label>
<label>
<input type="checkbox" name="checkbox2" value="2" />
2</label>
<label>
<input type="checkbox" name="checkbox3" value="3" />
3</label>
<label>
<input name="checkbox4" type="checkbox" value="4" />
4</label>
<input type="button" id="Submit" value="提交" />
</body>
php页面用echo $_POST['id'];或者echo $_GET['id'];接收都可以~~