I have a checkbox in a form and I\'d like it to work according to following scenario:
totalCost
Use an onclick event, because every click on a checkbox actually changes it.