jimmy cortes
|
Posted: 04/27/2001, 10:40 AM |
|
This is not a CodeCharge question, but I hope, you can help me by giving me
some ideas. I have a form wich has got some fields on it. on the same page I
have got another one wich manually the user must comple it in some cases
with the information from the other one. Iwant to put a clik button wich
copy and paste the data from one to the text boxes of the other one. Someone
told me JavaScript can do it...? Any Idea...? thanks...
(Can CC do it by itseft?)
jimmy
|
|
|
Walker P.
|
Posted: 04/27/2001, 12:34 PM |
|
Jimmy,
to implement your desired functionality, you would have to use javascript
based on the buttons 'onClick' event. For instance:
<input type='button', value='copy'
onClick="javascript:document.form.duplicate_textbox.value =
document.form.original_textbox.value;">
If you have multiple textboxes to be copied, you could create a javascript
function to do the processing.
Walker P.
CodeCharge Support
"jimmy cortes" <webmaster@virtuallinksa.com> wrote in message
news:9ccauo$kva$1@mail.tankhill.com...
> This is not a CodeCharge question, but I hope, you can help me by giving
me
> some ideas. I have a form wich has got some fields on it. on the same page
I
> have got another one wich manually the user must comple it in some cases
> with the information from the other one. Iwant to put a clik button wich
> copy and paste the data from one to the text boxes of the other one.
Someone
> told me JavaScript can do it...? Any Idea...? thanks...
> (Can CC do it by itseft?)
>
> jimmy
>
>
|
|
|
|