How to grab the text inside the TextBox in ASP.NET using jQuery


 

 var _comment = $(“#[id*=’commentEdit’]”).val();

 <asp:TextBox runat=”server” ID=”txtNewComments”  MaxLength=”300″ TextMode=”MultiLine” Rows=”7″ Width=”100%”></asp:TextBox>

Leave a Reply

Your email address will not be published. Required fields are marked *

*