开发者

Windows.parent doesn't work properly?

开发者 https://www.devze.com 2023-03-08 16:56 出处:网络
I have an overlay using jquery UI which lets the user to log in, when the submit button is hit and the login is successful, the overlay still remains - why might this be? The following code should wor

I have an overlay using jquery UI which lets the user to log in, when the submit button is hit and the login is successful, the overlay still remains - why might this be? The following code should work but doe开发者_如何学Csn't...

window.parent.location.href = "index";


try not using parent but top, i have done the same thing in one of my projects and got this error i just used top.

E.G

top.location.href = "index";

0

精彩评论

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