Q:

Why won't jquery run on my local machine?

The following script will work on jsfiddle (see below) but wont work on my local machine.
http://jsfiddle.net/gFaZn/
<!DOCTYPE HTML>

<html>

<head>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js">
</script>
<script type="text/javascript" src="script.js"></script>
<link type="text/css" rel="stylesheet" href="stylesheet.css">

</head>

<body>

<div></div>

</body>

</html>

Can anyone tell me what I am doing wrong?
Thanks

A:

// tells the browser to match the current protocol. It's fine if you're on a webserver, as it'll switch to http or https, but you're probably loading the file directly with the browser, so it'll expand to file://.
You need to specify the protocol explicitly:
src="http://...

Better yet, use a local webserver.

A:

Try replacing
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js">

with
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"> 

