Hi variaas,
just use my plugin or just the code as inspiration:
http://laboratorium.0xab.cd/jquery/fieldselection/0.2.3-test/
I'm a bit busy so please check out test.html for an example. :)
Alex
variaas wrote:
> How do I insert a string at a specific place in a textarea? I want to
> insert th
to all...I'm using a function written by Alex King, and adapted it to
a function in jQuery:
/**
* Insert content at caret position (converted to jquery function)
* @link
http://alexking.org/blog/2003/06/02/inserting-at-the-cursor-using-javascript
*/
$.fn.insertAtCaret = function (myValue) {
Check this page. Lots of info for you.
http://www.bazon.net/mishoo/articles.epl?art_id=1292
This probably could be turned into a good plugin.
Glen
On 6/22/07, variaas <[EMAIL PROTECTED]> wrote:
How do I insert a string at a specific place in a textarea? I want to
insert the string where ever
3 matches
Mail list logo