You are doing the reverse of what you are trying to do. To access a textbox in a popped up window from the main window, you must do this:
Code:
var oWin = window.open(...);
alert(oWin.document.forms[0].txtBox.value);
For future reference, this forum is for questions and comments directly relating to the book. Please use the general JavaScript forum for questions such as this.
Nicholas C. Zakas
Author, Professional JavaScript for Web Developers (ISBN 0764579088)
http://www.nczonline.net/