Posted By:
Nitesh_Naveen
Posted On:
Friday, August 30, 2002 01:36 AM
If you have more than one field with the same name, it'll be treated as an array. So if you have 2 hidden input fileds with name 'myhid' in the form 'myfrm' you can access them as...
var firstVal = document.myfrm.myhid[0].value;
var secondVal = document.myfrm.myhid[1].value;