I was using the name attribute instead of id. 505), Javascript access html select options and change background color of options, Javascript loop through ALL HTML select