cfcProgrammer
Programmer
Hi
I'm looking to copy from one field to another via a button using the code below. But I want the button to copy to more than one field. i.e. copy text from field1 to field2 and field3.
<button onclick="document.getElementById('field2').value=document.getElementById('field1').value">Copy Text</button>
Thanks!
cfcProgrammer
I'm looking to copy from one field to another via a button using the code below. But I want the button to copy to more than one field. i.e. copy text from field1 to field2 and field3.
<button onclick="document.getElementById('field2').value=document.getElementById('field1').value">Copy Text</button>
Thanks!
cfcProgrammer