How to do this?

Is it possible to do this:

Have two separate menus on web page. Want to reload or send some variable or any kind of way that if you click any button in one menu it also deactivates any pressed button in second menu…

Any suggestions???