I am trying to write to a forms value, so that it can be passed onto the next template to be processed.
*********
I have a function:
function set_funct(funct){
document.all.pub_hol.funct.value = "funct";
}
*********
And call it with:
<input type="submit" value="Add New" OnClick="set_funct(add_new)">
*********
The form field I am trying to set the value of is called 'funct', but I just can't get it working.
Anyone got any ideas??
Thanks
Jason
*********
I have a function:
function set_funct(funct){
document.all.pub_hol.funct.value = "funct";
}
*********
And call it with:
<input type="submit" value="Add New" OnClick="set_funct(add_new)">
*********
The form field I am trying to set the value of is called 'funct', but I just can't get it working.
Anyone got any ideas??
Thanks
Jason