how to edit textarea value in JQ without plugins?
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?
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
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
4 matches
Mail list logo