Softpedia
 


SCRIPTS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>

WEEK'S BEST

  • Anchor CMS 0.5
  • trueDAT 4.00
  • HTML KickStart 0.91
  • WP Translate 0.6
  • Unobtrusive Google...
  • youRhere v1.4
  • slabText v1
  • Perfect Quotes 0.3.2
  • LLVM 3.0
  • -prefix-free 1.0.4
  • Home > Scripts > Text Management > Text Tools

    a-tools 1.2

    Download button

    Downloads: 183  Tell us about an update
    User Rating:
    Rated by:
    Excellent (5.0/5)
    6 user(s)
    Developer:

    Website:

    License / Price:

    Platforms:

    Databases:

    Language:

    Last Updated:

    Category:
    Andrey Kramarev | More scripts
    plugins.jquery.com
    MIT License 

    Windows / Linux / Mac OS / BSD / Solaris
    N/A
    JavaScript
    March 14th, 2010, 11:57 GMT
    C: \ Text Management \ Text Tools

     Read user reviews (0)  Refer to a friend  Subscribe

    a-tools description

    This is a cross-browser text selection and modification plugin built on top of the jQuery library

    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.

    Here are some key features of "a-tools":

    · 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



    TAGS:

    text selection | manipulate text | insert text | text | insert | modify



    HTML code for linking to this page:


    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM