Change asp button text: using jQuery
I am trying to change the text of an asp: Button using jQuery. Like this
$("#<%=delButton.ClientID%>").attr('text', 'InActivate'); ..... <asp:Button ID="delButton" runat="server" UseSubmitBehavior="false" Text="Activate " CssClass="button" ToolTip="" OnClientClick="ondel();return false;"/> I see how the text is changing. Is this right to do?
thanks
+4