Hello all,
I am having a problem while attempting to send a hidden
input field to an existing for elsewhere in my cgi script.
The PERL part works fine, but when I put the following
javascript line in, it breaks
Code:
Where tasks is the name & id of the form.
and fcheck is the name & id of the field.
document.forms.tasks.fcheck.value = "done";
I have also tried:
document.form.tasks.fcheck.value = "done";
as well as:
document.tasks.fcheck.value = "done";
I am at a loss. I am not completely briliant with Javascript
so perhaps I'm just missing a vital piece somewhere.
I've searched a bit but I cannot really seem to find
much on this, just a lot of reading form data and sending data to e-mail stuff, but from what I found it seems that the last one should work.
Help.
Thanks,
Mike