I am trying to enable and change the background color of a (specific) set of buttons. How would I go about grouping these buttons and calling them so I do not need to set a specific Id for each?
EDIT:
To give more insight into what I am trying to do. Buttons are all laid out as such:
<button onclick="keyPress('e')">e</button>
What I tried doing(also tried Id and Name):
//light up keys
//document.getElementsByTagName("button").style.backgroundColor = 'silver';
//activate keys
//document.getElementsByTagName("button").disabled = false;