JS jump to PHP page stuck
按键盘手指磨破皮
按键盘手指磨破皮 2017-08-01 14:18:16
0
2
1449

JS gets stuck when jumping to other PHP pages. I tested it and found that the empty PHP file can be accessed. It should be that there is something wrong with the PHP code that I am accessing. I can’t jump with JS code. I can’t jump with PHP. The header can jump normally, which is really strange.

I would like to ask how to write general PHP code that may cause JS to not jump? I really can't check there are too many imported class files. .

按键盘手指磨破皮
按键盘手指磨破皮

reply all(2)
ringa_lee

In your case, I guess it may be an infinite loop. Your js jumps to the past, and php writes a return to the previous page, so it keeps jumping back and forth, and the page gets stuck. There is a problem with the code logic

树&刀布

As long as the PHP code is not written to return to the previous page, js can jump to it. If there is a problem with the code, the running result will not be displayed at most and the jump path will not be affected

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template