Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can new window set the old window?

Status
Not open for further replies.

neltan

Programmer
Nov 4, 2002
82
AU
Hi all,

This is my script:

var accept_win = window.open("new.htm", "accept_win", "menubar=no,resizable=no,scrollbars=no,status=no,toolbar=no");

How can "accept_win" know the original window?
e.g. disable the submit button of the original window.
e.g. set location of the original window.
 
Use opener.
Code:
opener.location  = "index.html";

Something like that anyway. :)
 
its the opener.

window.opener.FormName.Button.disabled=true;

Known is handfull, Unknown is worldfull
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top