how do i pass control(text field) values from one html to other using hidden variables
- From: prabodhtiwari@xxxxxxxxx
- Date: 7 Mar 2007 02:12:37 -0800
var count=document.getElementsByName("partId");
for(var i=0;i<count.length;i++)
{
document.mylist.myNum[i].value= document.getElementsByName("partNum")
(i).value;
}
document.forms["mylist"].submit();
}
myNum[] is a hidden variable and partNum is the name of a text field
that has many instances i mean there are many textfields with the
same
name so it forms a column in a data table.
.
- Prev by Date: Re: how to debug a javascript?
- Next by Date: Re: how to debug a javascript?
- Previous by thread: how to debug a javascript?
- Next by thread: number to text function
- Index(es):