Tag Archives: How To Set Maxlength For Multiline Textbox In Asp.Net

How To Set Maxlength For Multiline Textbox In Asp.Net

How To Set Maxlength For Multiline Textbox In Asp.Net In this post we will learn How To Set Maxlength For Multiline Textbox In Asp.Net.Here we are using jQuery to achieve this. Code: <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>How To Set Maxlength For Multiline Textbox In Asp.Net</title> <script type="text/javascript" src="http://code.jquery.com/jquery-1.9.1.js"> </script> <script type="text/javascript"> $(function() { $(‘#mtxt’).keypress(function(e) { var txt