hi guys,
i have a php page with java script embed in it , i have 3 forms in a single page ... namely form1, form2, form3 .
form 1 and form2 have a text box , these text boxes get input from users. Now my task is to get the value of these 2 tex boxes in form3 when the user click the submit button , so that i pass the values in those text boxes to next page for calculation.
i tried the following code in form3 but it result in vain :
<script type='text/javascript' language='JavaScript'>
var resp_1= document.q1.response1.value;
document.counter.response1_user.value= resp_1;
</script>
q1 = name of form1 , response1 = text box in form1
counter = name of form3 , response1_user = text box in form3.
please help me out ....
Thank you !