I'm using the code like this:
document.getElementById('one').style.color = 'red';
document.getElementById('two').style.backgroundColor= 'blue';
.......
document.getElementById('another').style.fontSize= '20px';
Is there a generic method to set style for multiple id element something like below ( like jQuery ) ?
document.getElementById('one').add('two').add('three').style.color = 'red';
Or, how can I make one?