[jQuery] Re: textArea select text.

2008-02-25 Thread RazoR
how to edit textarea value in JQ without plugins?

[jQuery] Re: textArea select text.

2008-02-25 Thread Karl Rudd
Define edit? You can assign the value just like any other text field. i.e. $('textarea').val('text') Karl Rudd On Tue, Feb 26, 2008 at 5:56 AM, RazoR [EMAIL PROTECTED] wrote: how to edit textarea value in JQ without plugins?

[jQuery] Re: textArea select text.

2008-02-13 Thread MorningZ
I am just curious, as i am trying to learn when jQuery might be overkill..but why wouldn't that simple document.getElementById().select() not be a desirable answer? like i don't see what is, or what can be, gained by jQuery-ifying it

[jQuery] Re: textArea select text.

2008-02-13 Thread Karl Rudd
The document.getElementById().select() method doesn't work in all browsers so there needs to be some sort of patched function to get the selection. See the linked blog entry for details ( http://blog.0xab.cd/jquery-plugin---fieldselection ). The plugin is actually quite small and succinct, so