form problem

T

timmy_dale12

I have a script where i transfer a value from one input field to
another. In this script i need to change the NAME of an input element.
how do i do this?

Ex
input element in a form :
<input type="number" name="customer_info".....

a javascript which works on this from :
document.form1.customer_info.

How to set the name customer_info ---> customer_info_2
There has to be a method to do this.

Mikal
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,079
Messages
2,570,574
Members
47,206
Latest member
Zenden

Latest Threads

Top