例如.我有
< asp:Label ID =“label1”runat =“server”“>< / asp:Label>
现在我想得到“label1”,
var id = ??
<asp:Label ID="label1" runat="server" ClientIDMode="Static"></asp:Label>
JS:
var id = 'label1';