我在 Dreamweaver 中有一段 JavaScript 代码,但它告诉我第 2 行有语法错误。问题出在哪里?
<link rel="stylesheet" type="text/css" href="scripts/rates/rates.css" />
<script src="scripts/rates/jquery-latest.js"></script>
<script>
$(document).ready(function() {
$("#responsecontainer").load("scripts/rates/ratesresult_alb.php");
var refreshId = setInterval(function() {
$("#responsecontainer").load('scripts/rates/ratesresult_alb.php?randval='+ Math.random());
}, 1800000);
});
</script>
<div id="responsecontainer">
</div>
相同的脚本在网站ak-invest.com上有效,在新网站上无效http://69.73.130.182/~akinvest/index.php/en/kembimi-valutor