a-tools

Software Screenshot:
a-tools
Software Details:
Version: 1.5.2
Upload Date: 6 Jun 15
Developer: Andrey Kramarev
Distribution Type: Freeware
Downloads: 63

Rating: 4.0/5 (Total Votes: 1)

The plugin works with "textarea" or with "input type=text"

They also must be the first element in a list or set of elements.

Tested with Opera 9.5 (Windows) and Opera 9.6 (Linux), Mozilla Firefox 3.0 (Windows and Linux), Internet Explorer 7, Chrome 2.0 and Safari 4.0. Also works with jQuery 1.4.

Features:

  • getSelection - return start, end position, length of the selected text and the selected text. return start=end=caret position if text is not selected;
  • replaceSelection - replace selected text with a given string;
  • countCharacters - count amount of all characters;
  • insertAtCaretPos - insert text at current caret position;
  • setCaretPos - set cursor at caret position (1 = beginning, -1 = end);
  • setMaxLength - set maximum length of input field. Also provides callback function if limit is reached. Note: The function has to have a number as input. Positive value for setting of limit and negative number for removing of limit.

Requirements:

  • JavaScript enabled on client side
  • jQuery 1.3 or higher

Similar Software

Markdown Preview
Markdown Preview

12 May 15

jQuery.dotdotdot
jQuery.dotdotdot

10 Apr 16

syntaxalator.js
syntaxalator.js

12 May 15

Knwl.js
Knwl.js

20 Jul 15

Comments to a-tools

Comments not found
Add Comment
Turn on images!