使用JavaScript函数在php页面中进行respose.redirect [英] respose.redirect in php page using javascript function

查看:108
本文介绍了使用JavaScript函数在php页面中进行respose.redirect的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

我在javascript函数中有一个php页面,我想重定向到另一个页面.
我用

hi all

i have a php page in a javascript function i want to redirect to another page .
i used

window.location.href = "http://www.google.com/";
return false;



但是里面没有塞纳斯.

任何帮助,请??????

感谢



but there was no senese in it.

any help , please???

thanks

推荐答案

尝试
window.location = "http://www.google.com/";


查看更多
JavaScript重定向脚本 [


See more
Javascript Redirect Scripts[^]


这篇关于使用JavaScript函数在php页面中进行respose.redirect的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆