O
Omar
Hi,
I'm trying to pass values from a parent window to a child. The value
I'm interested is the user selected option of a SELECT element, as
follows:
<input type='button' value='Asigna valor' name='valor' align='left'
onClick=window.open('valor.jsp?variable=documents.forms[0].variable.options[document.forms[0].variable.selectedIndex].value','child','resizable=yes,scrollbars=yes,status=no,toolbar=no,width=350,height=200,menubar=no,directories=no,dependent=yes,hotkeys=1,alwaysRaised=1');></td>
I think the mistake is in the way I'm passing the value:
valor.jsp?variable=documents.forms[0].variable.options[document.forms[0].variable.selectedIndex].value
Could you, please, help me to figure it out?
TIA.
I'm trying to pass values from a parent window to a child. The value
I'm interested is the user selected option of a SELECT element, as
follows:
<input type='button' value='Asigna valor' name='valor' align='left'
onClick=window.open('valor.jsp?variable=documents.forms[0].variable.options[document.forms[0].variable.selectedIndex].value','child','resizable=yes,scrollbars=yes,status=no,toolbar=no,width=350,height=200,menubar=no,directories=no,dependent=yes,hotkeys=1,alwaysRaised=1');></td>
I think the mistake is in the way I'm passing the value:
valor.jsp?variable=documents.forms[0].variable.options[document.forms[0].variable.selectedIndex].value
Could you, please, help me to figure it out?
TIA.