关于select—页面中的ListBox的Javascript
生活随笔
收集整理的這篇文章主要介紹了
关于select—页面中的ListBox的Javascript
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
document.all("ListBox1",0).selectedIndex:選中的行的index(從0開始計)
document.all("ListBox1",0).length-1:??????? 列表中的總行數
document.all("ListBox1",0).options(***).text:第***行的文字值
document.all("ListBox1",0).options(document.all("ListBox1",0).length-1).text:最后一行的文字
?
微軟的dhtml文檔地址:
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/objects/select.asp
總結
以上是生活随笔為你收集整理的关于select—页面中的ListBox的Javascript的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 虚荣的程序员--恶心,真的想吐
- 下一篇: 昨日-[鲁豫有约]: 乔羽