If your code looks good, verify that jQuery successfully loaded to your server. In my case, the jQuery files were published to the server by my IDE, but the web server only had a 0 KB file stub. With no content, the server failed to serve the file to the browser.
After re-publishing the file and verifying that the server actually received the whole file, then my web page stopped giving me the error.