Well, if you are going to do it that way. You should just make the output be the whole <select> tag, with the <option> tags in between, and </select>. Then write that to the innerHTML where you want it.
EDIT: And I agree with Andreas...it's NOT the smartest/best/cleanest way of doing it.




Reply With Quote