Hi
I have this problem.
I have a function like this.
function evaluate(tekst)
{
var ctrl;
ctrl = "control" + 5;
if(tekst=='good ')
{
document.formna me.ctrl .checked = true;
}
}
In the form there is a checkbox control named control5
but this doesn't work. I have the error ctrl not found in form.
I understand the reason but which is the solution?
Thanks
Alain Dhaene
I have this problem.
I have a function like this.
function evaluate(tekst)
{
var ctrl;
ctrl = "control" + 5;
if(tekst=='good ')
{
document.formna me.ctrl .checked = true;
}
}
In the form there is a checkbox control named control5
but this doesn't work. I have the error ctrl not found in form.
I understand the reason but which is the solution?
Thanks
Alain Dhaene
Comment