【发布时间】:2016-11-02 19:43:25
【问题描述】:
我有一个带有 iframe 的网页。我想要做的是让 iframe 中的查询字符串通过父 url。
例如:
父网址:mysite.com/iframe-page
iframe 网址:iframe.com
当点击 iframe 中的链接时,iframe url 将更改为 "iframe.com/?filter=google"
我希望它设置为父 url 可以以 mysite.com/iframe-page 开头,然后当点击 iframe 中的链接时,url 更改为 mysite.com/iframe-page?filter=google
这是可以做到的吗?
【问题讨论】:
标签: javascript php jquery wordpress iframe