Harman
10-19-2005, 10:18 AM
why is this not working
eval('document.'+formName+'.'+fieldName+'.value = '+doWhat);
where formName = 'myForm'; //which is the name of the form
fieldName = 'act'; //its the name of the field in myForm
doWhat = 'getData'; //what is want the value of the field to be
Thanks
eval('document.'+formName+'.'+fieldName+'.value = '+doWhat);
where formName = 'myForm'; //which is the name of the form
fieldName = 'act'; //its the name of the field in myForm
doWhat = 'getData'; //what is want the value of the field to be
Thanks