在JavaScript中如何取得Html组件中的ListBox所选中的项的Text,以及Value值
如Html的ListBox组件Select_Field1在C#中把该组件设为服务端控件运行
通过
Select_Field1.Items[Select_Field1.SelectedIndex].Text
来取得所选中的text以及value
但在JavaScript中如何取得呢?
document.Form1.Select_Field1.Items
[document.Form1.Select_Field1.SelectedIndex].Text;
没有Items对象,只有Item??