开发者

Windows.parent doesn't work properly?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜