Simple onclick

can you effect multiple objects using the onclick function?
ie: when a button is clicked several things change their class names. i know how to make this effect itself but not other objects, let alone multiple objects

any help would be appreciated.

Dave