clyde
01-12-2004, 08:12 AM
I am Really Confused on how I can pass a Parm and use the value of the parm which is the field name, in the code below.
The Value of the Field passed below is "DMMDA".
When I use the code below I get an Error that field is not a valid field or undefined. I can get the value of the field by using field.name, but how do I use it in code below.
Any Help would be appreciated.
function InfReset(field)
{
document.prompt.field.focus();
document.prompt.field.value = "";
}
The Value of the Field passed below is "DMMDA".
When I use the code below I get an Error that field is not a valid field or undefined. I can get the value of the field by using field.name, but how do I use it in code below.
Any Help would be appreciated.
function InfReset(field)
{
document.prompt.field.focus();
document.prompt.field.value = "";
}