There is
SCRIPT5009: \'$\' is undefined
FOR BEGINNERS:
add this code to your file:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js">
</script>
It'll grab the jQuery file from google cdn (according to http://www.w3schools.com/jquery/jquery_intro.asp) I was having this problem
Do you have another script using jQuery before jQuery is referenced?
This issue is because there is no reference in the page for jquery...Pleaes ensure that the below js reference or above jquery-1.5.1.min.js is added as reference
<script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>