开发者

window.open object change parent element?

I'm not the most javascript savy. I've seen posts for children windows getting parent values but not vice versa.

Basically, I want to invoke a window object with window.open. After some user input is entered in the new window, I want to开发者_JAVA技巧 stuff that input into the original window that invoked the window.open.

The only ways I can think to do this are messy. I don't need any code examples. But if it is possible and you can example it to me I would be grateful.


When you open a new window, window.opener contains a reference to the parent window (i.e. the window that opened this window).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜