daveigh
Programmer
- Oct 9, 2003
- 105
my prob is, i want to transfer the values of the 3 select boxes to a parent window named opener. but whenever i try to, i always get this error: expected identifier.
i transfer the value of the select box (located in a popup window) to a textbox (located in parent window, named opener):
opener.document.form1.["p_quantity" + c]value = document.form2.p_quantity.value;
i tried debugging and found out that the error comes from this line:
alert(opener.document.form1.["pid_ordered" + c]value));
can somebody help me? thanks!
_______________CRYOcoustic_____________
i transfer the value of the select box (located in a popup window) to a textbox (located in parent window, named opener):
opener.document.form1.["p_quantity" + c]value = document.form2.p_quantity.value;
i tried debugging and found out that the error comes from this line:
alert(opener.document.form1.["pid_ordered" + c]value));
can somebody help me? thanks!
_______________CRYOcoustic_____________