In your page, add a reference to jquery - $ is shorthand for jQuery. You can reference directly from googles CDN
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
Make sure this is referenced *before* any code that tries to use the $ symbol