A jQuery plugin which inserts text to a text input or a textarea field at the caret's position.
Base code from: http://stackoverflow.com/a/1064139/84042
If your text field contained 'Foo Bar' with the cursor positioned after 'Foo' then the following code would result in 'FooBar Bar':
$('textarea').insertAtCaret('Bar');
[1.1.4] - 2015-09-22
- Corrected the name of the browser detection variable
[1.1.3] - 2015-08-08
- Changed naming of the core files.
[1.1.2] - 2015-08-06
- Added manifest file for jQuery Plugin Registry
[1.1.1] - 2015-08-05
- Added to npm and jQuery Plugin Registry
[1.1] - 2015-08-05
- 1.9+ jQuery support
- More minification
- ReadMe updated
- License updated
[1.0] - 2013-01-07
- Initial commit
Copyright (c) 2013 İzzet Emre Erkan
Licensed under GPLv2 or later.
Contributors: