Not enough arguments

這是因爲寫法document.getElementById(**).add(new Option(**,**));致使的。它不符合W3C dom標準寫法。  解決辦法:  1. document.getElementById(**).options.add(new Option(**,**));  2. document.getElementById(**).appendChild(new Option(**,**)); 
相關文章
相關標籤/搜索