The event of click the button in HTML is οnclick = "...";
The event on the TEXT is οnkeydοwn = "..." such as: οnkeydοwn = "Command.Value = 'SELE';"