[javascript] textarea 글자 제한

textarea 글자 제한 원본소스 다운로드 :  textarea-maxlength

 

Example 1 – (This is the default without any config)

Code used

There is no javascript configuration used in this example. By setting a maxlength property for the textarea, example:

and by including the dg-textarea-maxlength-autoload.js file,

you will get a default config for all textareas where the maxlength attribute is set

Example 2 : Manual config

56 of maximum 255 characters

Code used: