If the select tag does not have an id attribute you use the same id for all the generated select boxes. You should use unique ids.