If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Javascript works in IE not in Firefox

The function is supposed to restrict the user from choosing too many categories. The categories are presented as checkboxes. There are two different sets of checkboxes but both validations really do the same thing.

I have provided the function below and below that the form in its entirety.

With Internet Explorer the function works as expected. With FF the function allows the user to go to Success.html no matter how many boxes are checked.

I do have the whole thing set up on a URL but I am not sure if I can post that here.