JavaScript- select all
I saw a function on some site where you pushed the button and it selected all the text in the textarea. I would just look at the source code, but I can't remember what the website is.
Does anyone know the code for selecting all of the text in a box with JavaScript. If you want to know, I need it for this article (the code at the bottom):
http://graphicx.abshost.net/articles.php?view=1
Kurtis
demonhale posted this at 16:38 — 5th September 2005.
He has: 3,278 posts
Joined: May 2005
Heres a sample code that will give you an idea...
demonhale posted this at 16:40 — 5th September 2005.
He has: 3,278 posts
Joined: May 2005
Or visit this link for another idea...
http://javascript.internet.com/forms/select-all.html
kazimmerman posted this at 19:48 — 5th September 2005.
He has: 698 posts
Joined: Jul 2005
Thanks a million! I knew it was out there.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.