[Javascript] window problem

sushil sgoel at techfactory.com
Wed Jun 27 09:56:13 CDT 2001


 function replace() {
 opener.location.replace("page1.html", opener.name);
  opener.document.forms[0].field.value = document.forms[0].rep.value;
 }
just comment the first line and see, it will work. actually when u are replacing the window1, then it is not the opener window. so opener.docum...  will not work. change your logic.


sushil.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20010627/3a86f47e/attachment.htm>


More information about the Javascript mailing list