I have this label control in my web page
<asp:Label ID="Label1" runat="server" Text="test"></asp:Label>
And when the page rendered the id of the control changes to something like this
<span id="ctl00_ContentPlaceHolder1_Label3">test</span>
How can I stop asp.net from changing IDs in order to perform a jQuery operation like this
$('#label1').html(xml);
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…