📜  javascript 设置 html 选择值 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:21.081000             🧑  作者: Mango

代码示例1
// Get the html select element
var select = document.getElementById('');

// If you have a 

//Then your selected value of your select would be:

select.value = "1";