今天把自己做的网页改在母板页下;
结果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
相关资源
-
下载
2022-12-09
-
下载
2023-03-15
-
下载
2022-12-15