Hi
This is first time to write and alse it is first time to show this site
my problem is i need to pass value from any input type like text for example
to hidden field
I tried to make a function but it does not work
function hdate(){
var m,x,y,z;
x=document.frm1 .s1.value;
y=document.frm1 .s2.value;
z=document.frm1 .s3.value;
m=x+y+z;
return m;
}
and i called it using that code
<input type="hidden" name="hiddenFie ld" value="hdata()"/>
thank you in advance
This is first time to write and alse it is first time to show this site
my problem is i need to pass value from any input type like text for example
to hidden field
I tried to make a function but it does not work
function hdate(){
var m,x,y,z;
x=document.frm1 .s1.value;
y=document.frm1 .s2.value;
z=document.frm1 .s3.value;
m=x+y+z;
return m;
}
and i called it using that code
<input type="hidden" name="hiddenFie ld" value="hdata()"/>
thank you in advance
Comment