我有一個設計好的網站,幷包含一些Java腳本,它們在本地完美運行,但上傳到服務器時無效!我試着將頁面的引用改爲// http:但仍然...什麼也沒有。我試過用簡單的警報文本框在服務器上測試,它的工作原理。我不明白爲什麼其他.js腳本不起作用。請幫忙。我的網站上的java腳本在本地運行但未在服務器上運行
<script type="text/javascript">
var shutterSettings = {"msgLoading":"L O A D I N G","msgClose":"Click to Close","imageCount":"1"};
</script>
<script src='http://www.broadigital.co.ke/style/newcss/js/shutter-reloaded.js?ver=1.3.3' type='text/javascript' ></script>
<script src='http://www.broadigital.co.ke/style/newcss/js/jquery.js?ver=1.7.2' type='text/javascript' ></script>
<script src='http://www.broadigital.co.ke/style/newcss/js/jquery.cycle.all.min.js?ver=2.9995' type='text/javascript' ></script>
<script src='http://www.broadigital.co.ke/style/newcss/js/ngg.slideshow.min.js?ver=1.06' type='text/javascript' ></script>
<script src='http://www.broadigital.co.ke/style/newcss/js/jquery.flexslider-min.js?ver=3.4.2' type='text/javascript' ></script>
該網站是www.broadigital.co.ke – Denn
模樣上傳到網站jQuery的文件被破壞,嘗試重新上傳的jquery.js文件再次,看看 –