sky2high,
<!DOCTYPE HTML>
<html>
<head>
<title>Untitled</title>
<meta charset="utf-8">
<style type="text/css">
</style>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script>
$(function(){
var answersFromUser = [];
var forms = $("form");
forms.each( function() {
var checkboxes = $( "input:checkbox:checked",this);
checkboxes.each( function() {
answersFromUser.push(this.value)
});
});
alert(answersFromUser);
});
</script>
</head>
<body>
<form action="http://">
<input name="" type="checkbox" value="0" >
<input name="" type="checkbox" value="1" checked="checked">
<input name="" type="checkbox" value="2" checked="checked">
</form>
<form action="http://">
<input name="" type="checkbox" value="3" >
<input name="" type="checkbox" value="4" checked="checked">
<input name="" type="checkbox" value="5" checked="checked">
</form>
</body>
</html>