ToxicBytez ToxicBytez - 2 years ago 93
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.

Answer Source

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download