First of all, getElementById will, well, get the element by id.

all of your elements are described by the name property, but they have no id property.

Secondly, the checkboxes that have the same name will create an array. You would not be able to just grab the value of the array, you would need to add up each value in the array.



As PeejAvery suggested before, if you are new to javascript then try reading some tutorials. Or maybe pick up a book on javascript .

You need to gain some basic knowledge of the language yourself so that you can do most of the debugging and troubleshooting on your own.