c#:

DropDownList1.SelectedIndex   =   DropDownList1.Items.IndexOf(DropDownList1.Items.FindByText( "安徽 "));

 

javascript:
var RequiredDept=$("select[@id='ddlRequiredDept'] option[@selected]").val();//会诊科室
var RequiredDept = $("#ddlRequiredDept option[@selected]").text(); //会诊科室
 

相关文章:

  • 2022-01-08
  • 2022-01-29
  • 2022-12-23
  • 2021-10-21
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-05-31
  • 2021-10-25
  • 2021-05-31
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案