selecting all the checkboxes inside a form

selecting all the checkboxes inside a form

Hello,

When I submit a form, I need to known wich checkboxes are checked. How can I do that??

<form id="selemployee" onsubmit="checkemployee();return false;">
<table border="1">
<thead>
<tr>
<th>Sel</th>
<th>Apellidos</th>
<th>Nombre</th>
<th>Seccion</th>
</tr>
</thead>
<tbody>

<tr>
<td><input class="check1" id="check1" type="checkbox" value="1" /></td>
<td>Garcia Garcia</td>
<td>Ferando</td>
<td>Administracion</td>
</tr>

</tbody>
</table>
<input type="submit">

I tried with:
var fields = jQuery("#selemployee input:checkbox").serializeArray();
but it does not work




Thanks in advance