开发者

javascript problems server side

开发者 https://www.devze.com 2022-12-25 00:03 出处:网络
I have a php script that uses some css/javascript tabs, they work on my local server but not when i upload to my online server.

I have a php script that uses some css/javascript tabs, they work on my local server but not when i upload to my online server.

Just wondering if anyone knows why this might be the case? All the paths are correct, its basically an identical setup.

I would be grateful to find out some reasons why the error appears on the server side, i thought javascript executed on the client side?

Any help is much app开发者_高级运维reciated.

Ke


I would check the permissions on your mootools lib if it seems to not be loading at all.


Javascript is client side. If it works when served locally, but not when served online chances are really, really good there is a path error or a missing file. I use Firefox with the web developer addon which will show you all the js from a page (and show if there are js errors on the page).

0

精彩评论

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