The guy that really knew jQuery left a couple of weeks ago, so I am trying to take over. I have a JSP with a checkbox for ALL hearing types, and then a multibox for selecting one or more of several hearing types. I would like some control over the process, so that when a user unclicks the ALL checkbox, he can go select individual multibox choices, or if he he unclicks one of the multibox choices, it will unclikc the ALL box.
I am not being successful at getting the click function called when the user changes either the ALL checkbox, or any of the multiboxes. Here is the checkbox for ALL.
And the multibox for the different hearing types:
My expectation was that I could write these click event handlers to get control:
While the document ready event handler gets called just fine, these click handlers do not. I have tried a number of combinations of #, ., styleId, without success. There are apparently dozens of different ways to do this--and I just haven't found the right combination. Even worse, the jQuery guru used jQuery a different way every time he did something, so there is no particular pattern to follow. Help!