window.opener.Message.To.value=lcMessageMarkThis works fine as long as the form name and the field name remains the same. And, that will work as long as the form name is Message and that the field name is To.
document.MyForm.Form.value='MyForm' document.MyForm.Field.value='NoMember' GoGetValue() function GoGetValue() { window.open("MyUrl"); }Then, I need a mecanism from the opened window to dynamically assign the returned value in the MyForm.NoMember field.
lcForm=window.opener.MyForm.Form.value lcField=window.opener.MyForm.Field.value window.opener.&lcForm.&lcField.value=lcMessageMarkBut, of course, that syntax is not working. How can I achieve that?