I Have a asp label
<asp:Label ID="lblstarUKRollNo" Visible="false" runat="server" Text="*" CssClass="star"></asp:Label>
and i want to enable it onchange of another textbox which calls a JS, in my javascript i tried
var idlblstarUKRollNo = '<%= lblstarUKRollNo.ClientID %>';
var lblstarUKRollNo = document.getElementById(idlblstarUKRollNo);
and to enable
reqdddlUKJurisdiction.enabled = true;
and lblstarUKRollNo.style.display="block";
Both did not work for me. Can anyone help me How to solve this issue.