[jQuery] Re: Inserting text into TextArea at location

2007-06-24 Thread Alex Brem
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

[jQuery] Re: Inserting text into TextArea at location

2007-06-23 Thread variaas
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) {

[jQuery] Re: Inserting text into TextArea at location

2007-06-22 Thread Glen Lipka
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