I have this checkboxes
HTML Code:
<input type="checkbox" class="calc" name="access[a]" value="1" />
<input type="checkbox" class="calc" name="access[b]" value="2" />
<input type="checkbox" class="calc" name="access[c]" value="3" />
<input type="checkbox" class="calc" name="access[d]" value="4" />
I need the following thing, i will explain it in an example:
Example: User selects third and fourth fields, 7(3+4) and cd ([access[c]+access[d]) will be send.
I want 2 things to be send, calculation of value and access[values].