The reason might be, that you have created all the check boxes on your webpage dynamically with same name. So, if there are three check boxes of the same name, it doesn't know which one is checked...