源码网商城,靠谱的源码在线交易网站 我的订单 购物车 帮助

源码网商城

js 父页中的单选按钮取值

  • 时间:2021-05-22 23:33 编辑: 来源: 阅读:
  • 扫一扫,手机访问
摘要:js 父页中的单选按钮取值
int starvalue = 3; ContentPlaceHolder ch = (ContentPlaceHolder)Master.FindControl("middlecontent"); RadioButton radio = new RadioButton(); for (int i = 1; i <= 5;i++ ) { radio = (RadioButton)ch.FindControl("rblStar" + i); if (radio.Checked == true) { starvalue = i; break; } } MessageBox.Show(starvalue.ToString());
  • 全部评论(0)
联系客服
客服电话:
400-000-3129
微信版

扫一扫进微信版
返回顶部