title: How to use jQuery Migrate plugin
body: <p>I'm using jquery 2.0 but would like to also use the jQuery migrate plugin so my website will work on older browsers.  However, I've been unsuccessful at getting it to work.  I have the following in the header section in my html.</p>
  
  <pre><code>&lt;head&gt;
      &lt;meta http-equiv="X-UA-Compatible" content="IE=8" /&gt;
      &lt;script src="/Scripts/jquery-2.0.3.js"&gt;&lt;/script&gt;
      &lt;script src="/Scripts/jquery.unobtrusive-ajax.min.js"&gt;&lt;/script&gt;
      &lt;script src="/Scripts/jquery.validate.min.js"&gt;&lt;/script&gt;
      &lt;script src="/Scripts/jquery.validate.unobtrusive.min.js"&gt;&lt;/script&gt;
      &lt;script src="http://code.jquery.com/jquery-migrate-1.2.1.min.js"&gt;&lt;/script&gt;
  &lt;/head&gt;
  </code></pre>
  
  <p>The compatibility meta tag is so I can test this on my computer (which has IE 11).  I don't have a computer with an older IE.  Anyway, this is giving me javascript errors such as:</p>
  
  <blockquote>
    <p>0x800a01b6 - JavaScript runtime error: Object doesn't support property
    or method 'addEventListener'</p>
  </blockquote>
  
  <p>The jQuery migrate guide (<a href="https://github.com/jquery/jquery-migrate/" rel="noreferrer">https://github.com/jquery/jquery-migrate/</a>) seems to just say to include the migrate plugin after including jQuery.  What am I doing wrong?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>I found my local jquery.js file must be corrupt or maybe the nuget package I got it from has a bad version of it.  Since that error goes away when I include jquery directly from code.jquery.com.</p>
  
  <pre><code>&lt;head&gt;
      &lt;meta http-equiv="X-UA-Compatible" content="IE=8" /&gt;
      &lt;script src="http://code.jquery.com/jquery-2.1.0.js"&gt;&lt;/script&gt;
      &lt;script src="http://code.jquery.com/jquery-migrate-1.2.1.min.js"&gt;&lt;/script&gt;
  &lt;/head&gt;
  </code></pre>
  
  <p>However, my scripts give an error.  Here's an example script</p>
  
  <pre><code>function HighlightSelectedRow(tr) {
      $("#TableSummary tr").removeClass("HighlightedRow");
      tr.className += " HighlightedRow";
  }
  </code></pre>
  
  <p>It gives the following error</p>
  
  <pre><code>0x800a138f - JavaScript runtime error: The value of the property '$' is null or undefined, not a Function object
  </code></pre>
  
  <p>Thanks</p>