Html code:
<asp:Label ID="LblCt" runat="server" Style="display:none" Text="">72</asp:Label>
I get ""
when I use with this codes:
JQuery: $("#LblCt).text()
, $("#LblCt).textContent
Asp.Net: LblCt.Text
How can I get the text of the label?
I can't use CSS - visibility:hidden
Update:
The problem is because of display:none
, when Display:block
there is no problem.