Skip to content

📝 A jQuery plugin for getting, setting and replacing the selected text in input fields and textareas.

License

Notifications You must be signed in to change notification settings

sinanguler/jquery-textrange

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jQuery TextRange

This jQuery plugin provides dead simple methods for getting and setting the selected text in DOM elements. It provides a suite of related tools that all manipulate text within a jQuery element, such as replacing the selected text (or a given character range) with a string.

Information

  • jQuery 1.3 or higher (including jQuery 2).
  • Does not work with TinyMCE, CKEditor, or other WYSIWYG editors. Each editor provides this functionality in their own API.

Links

Setup

  • Download (.zip or .tar.gz) and extract onto your web server.
  • Include the script:
<script src="js/jquery-textrange/src/jquery-textrange.min.js"></script>

About

📝 A jQuery plugin for getting, setting and replacing the selected text in input fields and textareas.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 100.0%