I am trying to set a text to an asp label from javascript, this is what i tried but it doesnt work
document.getElementById("Label1").value = "new text value";
<asp:Label ID="Label1" name="Label1" Font-Size="XX-Large" runat="server" Text="I am just testing"></asp:Label>
You can try this:-
or you can try