标签:select style 添加 log javascrip nbsp option .text logs
1 var select= document.getElementById("selectid"); 2 var objOption = document.createElement("OPTION"); 3 objOption.value = value; 4 objOption.text =text; 5 select.add(objOption);
javascript 向下拉列表框select添加选项option
标签:select style 添加 log javascrip nbsp option .text logs
原文地址:http://www.cnblogs.com/maokun-blog/p/7339498.html