开发者

window.close() javascript method doesnt work in phonegap for iOS

开发者 https://www.devze.com 2023-04-07 19:04 出处:网络
Im trying to close a popup window that has been opened using window.open() in my phonegap app being developed on iOS. But the window.close method doesnt work when Im trying to close the newly opened p

Im trying to close a popup window that has been opened using window.open() in my phonegap app being developed on iOS. But the window.close method doesnt work when Im trying to close the newly opened p开发者_StackOverflowopup window. Although it works fine in normal web browsers, how can i make it work on the iphone simulator or atleast will it work on the final app deployed?

tried alternate trick - window.open('','_parent');window.close(); too but to no use.

0

精彩评论

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