Home > front end >  Help of the new, frame for the parent page URL and assignment problem
Help of the new, frame for the parent page URL and assignment problem

Time:11-28

A. the URL of the page for wangzhi.com/?=page
In A page with the frameset
On the three
The SRC for page B "xx. HTML
"In B page need to obtain A URL of the page, with regular? Behind=[page] and assign values to the B button of the page in the href
Now is don't know which one to use to obtain A URL of the page, for bosses to give directions, new going bald
'Make do with notepad to open up the screenshot...

With the document. The write (window. The parent. The document. The URL) can take to A URL of the page, how do you get back,,

CodePudding user response:

Didn't understand what you mean you take to A URL of the page are you want to do the assignment to the controls

CodePudding user response:

Two pages inside the iframe communication using postmessage

https://developer.mozilla.org/zh-CN/docs/Web/API/Window/postMessage
  • Related