这是由于写法document.getElementById(**).add(new Option(**,**));导致的。它不符合W3C dom标准写法。
解决办法:
1. document.getElementById(**).options.add(new Option(**,**));
2. document.getElementById(**).appendChild(new Option(**,**));
解决办法:
1. document.getElementById(**).options.add(new Option(**,**));
2. document.getElementById(**).appendChild(new Option(**,**));