摘要:
值得收藏注意:Option中的O是要大写的,不然语法报错1.动态创建select function createSelect(){var mySelect = document.createElement("select"); mySelect.id = "mySelect"; document.body.appendChild(mySelect); }2.添加选项option function addOption(){ //根据id查找对象, var obj=document.getElementById('mySelect'); // 阅读全文
posted @ 2010-05-30 17:29
维美启程
阅读(214)
评论(0)
推荐(0)

浙公网安备 33010602011771号