RE: [PHP] copy function?
| From: | Jay Blanchard | Date: | Tue, 16 Nov 2004 15:20:05 +0000 |
| Subject: | RE: [PHP] copy function? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-202164@lists.php.net to get a copy of this message | ||
[snip]
I have a button which I want to add a function to, so that when it is
clicked, the data from one <textarea> will be copied to another
<textarea>
Which event handler of the button should I use and hoe should I
construct
the function?
[/snip]
Both textareas on the same page? Want to do the copy without making a
trip to the server? I think you want JavaScript for this.