mwetzel
10-15-2002, 09:04 PM
Hopefully this is a simple question. I know its possible for a child window to read the values from the fields of the parent window. My javascript works fine until today. I added a new twist. The parent window runs on one web server and the child on a second, but the javascript is returning errors when I attempt to read a field values from the parent.
Code:
<script language=Javascript>
alert(opener.document._ctl1.elements['ShipFirstNamefld']);
if (document.forms[0].Ref.value = 3) {
//if (opener.document._ctl1.elements['ShipFirstNamefld'] == null) {
It errors on the alert line now. Access is denied. Is it a no-no to use javascript across servers? or is this a server permission level problem?
Thanks
Code:
<script language=Javascript>
alert(opener.document._ctl1.elements['ShipFirstNamefld']);
if (document.forms[0].Ref.value = 3) {
//if (opener.document._ctl1.elements['ShipFirstNamefld'] == null) {
It errors on the alert line now. Access is denied. Is it a no-no to use javascript across servers? or is this a server permission level problem?
Thanks