how to count the total amount of selected boxes on html table : How can i count the amount of the selectedboxes from the table 

    <tbody>
    					<tr>
           
    						
                            <td><center><form> <input type="checkbox" value="<?php echo $rws['amount']; ?>" /></center></td>
    					
                        </tr>
                  
				
				</tbody>