I have these checkboxes on my page
<input type="checkbox" name="dezenas[]" value="01" />
<input type="checkbox" name="dezenas[]" value="02" />
<input type="checkbox" name="dezenas[]" value="03" />
<input type="checkbox" name="dezenas[]" value="04" />
I need a function to update a div by printing the values of checkboxes marked with no refresh on the page. It is necessary that the div be updated also when the checkbox is unchecked, deleting the value in the div.
Thank you in advance.