请问如何得到下拉框中的项目总数

有个下拉框,其中内容是变动的,所以需要用javascipt得到其索引总数,请问是哪个属性,谢谢.
---------------------------------------------------------------

document.formName.selectName.options.length

Published At
Categories with Web编程
Tagged with
comments powered by Disqus