title: Fresh MVC 3 project giving me wierd unobtrusive validation script error
body: <p>I have just created a new MVC 3 project and updated all the installed packages using the package manager, however I am recieving the following error:</p>
  
  <blockquote>
    <p>Microsoft JScript runtime error: Unable to set value of the property
    'unobtrusive': object is null or undefined</p>
  </blockquote>
  
  <p>Here is relevant code:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  
  &lt;html lang="en"&gt;
      &lt;head&gt;
          &lt;meta charset="utf-8" /&gt;
          &lt;title&gt;@ViewBag.Title&lt;/title&gt;
  
          &lt;link href="@Url.Content("~/Content/Reset.css")" rel="stylesheet" type="text/css" /&gt;
          &lt;link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" /&gt;
  
          &lt;script src="@Url.Content("~/Scripts/modernizr-1.7.min.js")" type="text/javascript"&gt;&lt;/script&gt;
  
          &lt;script src="@Url.Content("~/Scripts/jquery-1.7.2.min.js")" type="text/javascript"&gt;&lt;/script&gt;
          &lt;script src="@Url.Content("~/Scripts/jquery-ui-1.8.20.min.js")" type="text/javascript"&gt;&lt;/script&gt;
  
          &lt;script src="@Url.Content("~/Scripts/jquery.unobtrusive-ajax.min.js")" type="text/javascript"&gt;&lt;/script&gt;
          &lt;script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.js")" type="text/javascript"&gt;&lt;/script&gt;
      &lt;/head&gt;
  
      &lt;body&gt;
          @RenderBody()
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>A javascript snippet from the area the error occurs:</p>
  
  <pre><code>$jQval.unobtrusive = {
          adapters: [],
  
          parseElement: function (element, skipAttach) {
              /// &lt;summary&gt;
              /// Parses a single HTML element for unobtrusive validation attributes.
              /// &lt;/summary&gt;
              /// &lt;param name="element" domElement="true"&gt;The HTML element to be parsed.&lt;/param&gt;
              /// &lt;param name="skipAttach" type="Boolean"&gt;[Optional] true to skip attaching the
              /// validation to the form. If parsing just this single element, you should specify true.
              /// If parsing several elements, you should specify false, and manually attach the validation
              /// to the form when you are finished. The default is false.&lt;/param&gt;
              var $element = $(element),
                  form = $element.parents("form")[0],
                  valInfo, rules, messages;
  
              if (!form) {  // Cannot do client-side validation without a form
                  return;
              }...
  </code></pre>
  
  <p>Can someone please tell me why this error is occurring and how I can fix it? Am I simply missing a reference to a required script?</p>
  
  <p>Thanks,
  Alex.</p>