jQuery can't be found with this code if you simply paste it in Notepad, save it and open the file in a browser.
You must either :
- serve your file using an HTTP server (i.e. not access it using
file://
)
- or change the URL of jQuery to not use a protocol relative URL (an URL starting with
//
)
The simplest fix would be to change