开发者

window.open object change parent element?

开发者 https://www.devze.com 2023-01-20 01:15 出处:网络
I\'m not the most javascript savy. I\'ve seen posts for children windows getting parent values but not vice versa.

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

精彩评论

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