Home  >  Article  >  Backend Development  >  关于PHP让目标网页跳转有关问题(不是该网页跳转!)

关于PHP让目标网页跳转有关问题(不是该网页跳转!)

WBOY
WBOYOriginal
2016-06-13 11:53:011078browse

关于PHP让目标网页跳转问题(不是该网页跳转!)
建个1.php
如何写代码让2.HTML跳转到3.html或者2.html刷新。
------解决方案--------------------
这个可以用Ajax,2.html用Ajax调用1.php,根据返回的数据来决定是刷新还是跳转。
------解决方案--------------------
只能利用前端与php交互来判断你下一步的操作,触发某事件或者用定时器来执行

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn