今天把自己做的网页改在母板页下;
结果javascript getelementbyid出错。
解决方法是
方法1:
ctl00$ContentPlaceHolderID$文本框
ctl00_ContentPlaceHolderID_Comp_标签
方法2:
document.getElementById('<%= TextBoxID.ClientID %>');

相关文章:

  • 2021-08-14
  • 2022-12-23
  • 2021-05-28
  • 2022-02-19
  • 2021-09-13
  • 2021-12-23
  • 2021-12-21
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-08-18
  • 2021-11-18
  • 2021-09-09
  • 2021-11-07
  • 2022-12-23
相关资源
相似解决方案