Wednesday, February 2, 2011

Get visible false asp Lable value from java script


<style>
.lbl{
display:none;
}
</style>

<asp:Lable ID="label1" runat="server" CssClass="lbl"/>
var val=document.getElementById("<%=label1.ClientID%>").innerHTML;
 

1 comment:

  1. keep it mind here i used innerHTML because lable render as span.

    ReplyDelete

TinyMCE Insert/Edit link not editable

 To fix this add  e.stopImmediatePropagation()  as below. $(document).on('focusin', function (e) {             if ($(e.target).close...