joelo
08-26-2003, 04:51 AM
Please could somebody help me out .....I don't know what I am doing wrong.
function FillDates()
{
for( i = 0; i < document.device.x_TESTDATE.value; i++ )
{
var thedate = document.device.x_TESTDATE[i].value;
document.device.PRE_idTESTDATE[i].value = thedate;
document.device.TUE_idTESTDATE[i].value = thedate;
document.device.SUN_idTESTDATE[i].value = thedate;
document.device.MON_idTESTDATE[i].value = thedate;
}
return true;
}
I keep getting the following error message:
Line: 90
error: 'document.device.x_TESTDATE[...].value is null or not and object
line: 90 is
var thedate=document.device.x_TESTDATE[i].value;
Please any help will do
Thanx.
function FillDates()
{
for( i = 0; i < document.device.x_TESTDATE.value; i++ )
{
var thedate = document.device.x_TESTDATE[i].value;
document.device.PRE_idTESTDATE[i].value = thedate;
document.device.TUE_idTESTDATE[i].value = thedate;
document.device.SUN_idTESTDATE[i].value = thedate;
document.device.MON_idTESTDATE[i].value = thedate;
}
return true;
}
I keep getting the following error message:
Line: 90
error: 'document.device.x_TESTDATE[...].value is null or not and object
line: 90 is
var thedate=document.device.x_TESTDATE[i].value;
Please any help will do
Thanx.