[Javascript] filling form in parent window by popup

Matt Barton javascript at mattbarton.org
Mon Feb 21 08:20:33 CST 2005


Use the 'opener' object to reference the window that opened the popup.

opener.document.form.etc

Matt

Michael Borchers wrote:
> my main form (parent window) openes a popup.
> the popup now includes the command to
> fill out a field back in the parent window.
> 
> how to reach this field?
> parent.document.form_name.form_field.value = '...' ?!
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
> 



More information about the Javascript mailing list