行雲流水
2012年3月27日 星期二
javascript select new Option 用法
var myselect=document.getElementById("channels");
myselect.options[myselect.length] = new Option("123", "1", "", (channel==36)?1:0);
new Option("標題","value",沒用""即可,selected)
沒有留言:
張貼留言
較新的文章
較舊的文章
首頁
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言