开发者

How can i redirect all page using ajax and php when a particular condition occur

I have a user login part in my website using php, jquery and ajax.I am not much familiar with ajax and jquery.

I want to redirect my whole page to another page when the user login is correct.

But now the problem is that only the user login part is redirecting to another page, other parts of the page remain uncha开发者_如何学运维nged.

Please help me to redirect my whole page when the user login is correct.


To redirect client to another page with JS you can use:

window.location = '**url_to_redirect**';
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜