开发者

iframe/lightbox refresh issues

开发者 https://www.devze.com 2022-12-26 23:46 出处:网络
Please check out: http://gherkin.co.nz/refresh/ and click on the purple box that says \'Membership chest\'

Please check out: http://gherkin.co.nz/refresh/ and click on the purple box that says 'Membership chest'

You should then see some form fields in an iframe in the lightbox.

If you click on the "GO" button, the page 开发者_高级运维will change (currently Not found, which is fine for now). If you click the dark area to close the box, then click the purple card again - it will take you back to the not found page. When called, I want the content to always go back to the page specified in the iframe src, not the last page.

Can it go back to the first specified page on this second click?

Does that make sense? basically I want the iframe/lightbox to refresh its content each time it is called.


fr = document.getElementById('iframe1'); fr.src = fr.getAttribute("src") before calling the lightbox on your onclick element.

0

精彩评论

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