0
所以我試圖加載一個小欄,但我的JQuery不加載,當我嘗試在FireFox & Chrome中加載時,它只在Safari上加載。 這是我的代碼:JQuery不會加載任何其他瀏覽器然後Safari瀏覽器
<html>
<head>
<title>Mijn eerste spel</title>
<link href="opmaak.css" rel="stylesheet" type="text/css">
<script src="http://code.jquery.com/jquery-2.1.4.min.js"></script>
<script src="code.js"></script>
</head>
<body>
<div id="knop">
<div id="textknop">Gooi Steen</div>
<div id="laadbalk"></div>
</div>
<h1 id="money">$0</h1>
</body>
</html>
和我的JQ代碼:
$(Document).ready(function(){
alert("test")
});
在Safari中它產生的彈出,但其他瀏覽器會忽略我的代碼。
哇,非常感謝。這是一個非常愚蠢的錯誤 – Emiel