I'm fairly new to MVC and I'm trying to figure out how to add jquery to an empty MVC project.
I first added several js files to my project by installing several Nuget packages. Then I added the following to my my layout file.
<head>
...
<script src="~/Scripts/jquery-2.0.3.js"></script>
<script src="~/Scripts/jquery.validate.unobtrusive.js"></script>
</head>
Now when I run the project I get the following javascript error.
JavaScript runtime error: 'JSON' is undefined
When am I missing?
Thanks