ToxicBytez ToxicBytez - 5 months ago 5
Javascript Question

JQuery wont load in any browser other then Safari

So I was trying a little loading bar but my JQuery doesn't load when I try this in FireFox & Chrome, it only loads on Safari.
this is my code:

<title>Mijn eerste spel</title>
<link href="opmaak.css" rel="stylesheet" type="text/css">
<script src=""></script>
<script src="code.js"></script>
<div id="knop">
<div id="textknop">Gooi Steen</div>
<div id="laadbalk"></div>
<h1 id="money">$0</h1>

and my jq code is:


In Safari it produces the popup but any other browser just ignores my code.


Very simple, just change Document to document in javascript code.