views:

13

answers:

2

What's the best way of restricting the maximum number of characters that can be entered into an asp textarea?

A: 

Look at http://remysharp.com/2008/06/30/maxlength-plugin/, you cannot achieve that without javascript.

ThiefMaster
jQuery plugin is in fact Javascript. :)
The Elite Gentleman
A: 

The best way is to have to count the number of text entered in a text area and limit the text if the length(text entered) reaches maximum.

Eg. of Javascript can be found here: http://www.mediacollege.com/internet/javascript/form/limit-characters.html

The Elite Gentleman