By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,949 Members | 890 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,949 IT Pros & Developers. It's quick & easy.

Safari IOS target='Iframe' from popup window not working

P: 1
There is iframe1/iframe2/iframe3/iframe4 define in main from where popup generated (using window.showModalDialog()). and from popup if I am trying target="iframe1id" and document.Popupform.submit() doesn't work in safari.

Problem 1

This works on all other browser not in Safari MAC

document.popupform.target="iframeid"

document.popupform.submit();
Problem 2

document.popupform.target="_parent/_self/_top/_blank" or target ="";

document.popupform.submit();
If I am trying target="_parent/_self/_top/_blank" or target="", from will submit and load the xyz.html in popup window only and then I have to call iframe4.location="som/action" to reload iframe4 in main form before closing the popupwindow but

iframe4.location="som/action";
window.close();
Not working if I close manually popup window then the iframe4 getting reload. but not in case window.close().


Can anyone help please this issue killing me :(
Mar 19 '17 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.