📅  最后修改于: 2022-03-11 15:04:12.038000             🧑  作者: Mango
var select = document.getElementById("example-select");
select.options[select.options.length] = new Option('Text 1', 'Value1');