Press each of the buttons below to see if your browser supports that method of adding a option to the select.
Browsers known to like all methods
Safari 1.2 (MacOS)
Opera 7 (Win)
Browsers with Trouble
Moz 0.9+ (including flavors like NS6+, Firefox and Camino)
+ Likes all standards-based methods
- Messes up using (common, but non-standard) innerHTML manipulation
IE 6 (Win)
~ likes DOM 0, except for some bizarre reason if createTextNode() is used then it throws an error adding the option to the collection
- Brokenly inserts empty options when using DOM 2 Core methods, unless the text of the option is set using createTextNode(), or the text (and value) of the option are set AFTER it has been added to the DOM.