Reference ASP.NET control by ID in JavaScript?

前端 未结 9 1218
孤街浪徒
孤街浪徒 2020-11-28 09:25

When ASP.NET controls are rendered their ids sometimes change, like if they are in a naming container. Button1 may actually have an id of ctl00_ContentMai

9条回答
提交回复
热议问题