-2

我在内容页面中使用下拉列表,所以我想验证 selectedIndex!=0 的下拉列表;

在此先感谢 N Mahesh Goud

4

1 回答 1

0

你可以使用clientID属性,假设你的下拉列表 id 是 dropID 然后像这样访问:

document.getElementById ("<%= dropID.ClientID %>");
于 2012-05-08T05:20:07.853 回答