Home  >  Article  >  Backend Development  >  javascript-JS、php 分页 跳转问题 谢谢啦~~~

javascript-JS、php 分页 跳转问题 谢谢啦~~~

WBOY
WBOYOriginal
2016-06-02 11:33:46948browse

phpjavascript

我通过JS做了个分页,然后加入php写的分页下标,但是每次点击下标"下一页"却不是在此分页中显示

会先跳到包含分页的所在页(num3.php)然后手动点击其中分页(商品互换)才能显示出来,那如何一步到位呢?谢谢~
如下代码在"num3.php"中:

window.onload=function(){var oTab=document.getElementById("tab");var aH3=oTab.getElementsByTagName("h3");var aDiv=oTab.getElementsByTagName("div");for(var i=0;i

商品交易

商品互换

商品交易的内容

商品互换的内容

所在div中的分页代码的跳转部分:

&page=">下一页 |

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