Hi all,
I made a function like this :
function save_state(id,field)
{...
//I do some stuff and then this line
myform.field.value=1;
...}
if I make it run, the system doesn't save anything in value of field, I looked everywhere how to write field since is a variable, when you usually use +field+ if like you have to print it but nothing worked.
May anybody help me please?
I made a function like this :
function save_state(id,field)
{...
//I do some stuff and then this line
myform.field.value=1;
...}
if I make it run, the system doesn't save anything in value of field, I looked everywhere how to write field since is a variable, when you usually use +field+ if like you have to print it but nothing worked.
May anybody help me please?