I am trying to combine these two lines
comboBox.attachEvent("onChange", boxLocation);
comboFreezer.attachEvent("onChange", boxLocation);
into one elegant one. I tried
(comboBox, comboFreezer).attachEvent("onChange", boxLocation);
however that does not work exactly the same.
any suggestion?