The code, just the syntax you use, looks correct. This error really indicates that you did not include jQuery file. The assumption by vbmike (please see comments to the question) is correct.
I could look like this:
<html>
<head>
<title>...</title>
<script type="text/javascript" src="scripts/jquery-1.10.2.min.js"></script>
</head>
<body>
</body>
</html>
And you need to have the jQuery file itself in appropriate place, or a Web link to it, of one or another version. This is where you can download the latest one:
http://jquery.com/download/[
^].
—SA