Well it's easy enough to find the checkboxes:
$(':checkbox').whatever()
The trick is that in HTML checkboxes only have a value that's meaningful when checked. When they're not checked, what do you tell the server?
Well if you've got a convention to work with (perhaps always sending "true" when checked and "false" when not checked), the next thing you have to decide is how to get them to your server. You can use the jQuery param
function to turn the list into a parameter string:
var params = $.param($(':checkbox').map(function() {
return { name: this.id, value: !!this.checked };
}));
That gives you a string ready to be tacked onto a URL, or sent as data via $.ajax
.