1 var ddlType = document.getElementById("<%=ddlType.ClientID %>"); //获取DropDownList控件
2 var type = ddlType.options[ddlType.selectedIndex].value; //获取选择项的值

 

相关文章:

  • 2022-12-23
  • 2022-01-16
  • 2022-12-23
  • 2022-12-23
  • 2021-10-14
  • 2022-02-18
  • 2022-01-08
  • 2021-10-21
猜你喜欢
  • 2022-12-23
  • 2021-08-20
  • 2022-03-09
  • 2022-12-23
相关资源
相似解决方案