how to use a checkbox inside a repeater

I have a repeater that contains images, sku’s, names, prices, and checkboxes, that looks like this.

Checkboxes can be clicked on and off at any time. What code do I need to detect a checkbox has been clicked on or off, and the following: When clicked on, I need to add the price to the tally; When clicked off I need to subtract the price from the tally. Any ideas are good ideas . Thanks.

HAve a look at this example:

It uses options, but it’s the same for check boxes.

Thanks. Will check it out