I\'m working on a small web application that changes the contents of a select drop-down.
I was wondering if appendChild() and add() both accomplish the same task on
I think it should be equivalent, but here you can find a question which remarks the different implementations when you try to work with option groups:
SELECT box: On IE item is added to OptGroup instead of root. FF ok
IE fails to add a new option "in the root" when there is already group inside the select element.