Here\'s my attempt at limiting the number of characters entered into a text area:
var limit = 255; var txt = $(\'textarea[id$=txtPurpose]\'); $(txt).keyup(f
Though this question is pretty old. If I was you I do something very simple like
This would limit the users to enter only 255 characters in the textarea.