ranking Sort Sort   |   date Sort Sort   |   member Sort Sort

Date Submitted Thu. Sep. 17th, 2009 10:10 PM
Revision 1
Scripter Cloudgen
Tags carat | jquery | plugin | textarea | textbox
Comments 0 comments
jCaret is a full-power caret Plugin.

It provides basic selection detection in textbox and textarea giving the following information
The start postion of caret/cursor
The end postion of caret/cursor
The selected text
It enable programmer highlight part of the text in textbox or textarea by:
providing the text directly
providing the start and end position
providing the regular expression for selecting text
It provides the replace() method, which is useful in providing input filter of a textbox or textarea.
See online demostration
jCaret plugi
Date Submitted Thu. Oct. 26th, 2006 6:59 PM
Revision 1
Helper brendo
Tags forms | JavaScript | message | textarea
Comments 3 comments
This snippet also you to limit the input in a form field to a specified number of characters. It displays a counter so users can see how many characters they have left, and once they reach the limit the field just trims the length to your limit.

The following is a snippet from what I used when I implemented a tagboard to my site. Further revisions could/should read the LIMIT from the maxlength attribute