Sorry to post in the Coding forum -- didn't think this was a client-side issue.
I posted a stripped copy for you to see what I'm doing.
Maybe this will help. I understand what you're both saying about the way to assign multiple classes, just unsure where to go from here. I've tried as you suggested but the result is always the same.
I like the idea of using a different identifier to call the JS instead of using class="DEPENDS ON ...", but I don't know how to do this. I've looked in the two files which make this page happen and the word class only appears once sooooo, I thought maybe if I provided the source files to this issue it could help towards a resolution.
The goal is if a check box is selected, the assocoated text box would appear to the right with style7 applied. Both examples have the HTML code to their right also.
Example 1 does the JS stuff, but will not assign style7, too.
Example 2 does not do the JS stuff, but does assign style7.
I want them to do both.
Thanks Guys!