How to press a button and (besides its action) another one be actioned?

I'd like to code for Arduino Ethernet Shield, the action of pressing a web button and (via 'href') besides its efect, another web button be actioned automatically. Could somebody help me?