problem:
There are several TextBox on the web page. When entering the data, press Enter key, the first Button can automatically respond, that is, press the Enter key, equal to clicking submission. If I want to press Enter in TextBox1, automatically respond to Button1; press Enter to the TEXTBOX2, automatically respond to Button2!
Reply:
TextBox1.attributes.add ("onkeyDown", "if (event.keycode == 13) Document.all." Button1.clientID ". Click ()")