Bootstrap's javascript works locally but not when deployed to a server

前端 未结 9 1453
刺人心
刺人心 2020-12-15 18:56

I downloaded the barebone example of Twitter\'s bootstrap and customized it. I tested it locally (with WAMP server) and everything works perfectly, both the CSS and the JScr

9条回答
  •  -上瘾入骨i
    2020-12-15 19:35

    I know this is very strange but I think I got the solution. Previously I was using the (supplied) jQuery 1.7.2 minified. Now I changed it to use the jQuery 1.8.0 not minified. It just started to work... Another thing I did was to convert all files' encoding to UTF8 (I think this was the real problem/solution)

提交回复
热议问题