title: How to refresh div without refreshing the entire site with jquery
body: <p>I am trying to refresh a table by button click.</p>
  <p>I searched around and found this.</p>
  <pre><code>$(&quot;#Table2&quot;).load(location.href + &quot; #Table2&quot;);
  </code></pre>
  <p>That works perfectly if I use a older version of jQuery. But in newer versions of jQuery, it does not work anymore.</p>
  <p>I get the error</p>
  <pre><code>Uncaught TypeError: $(...).load is not a function
  </code></pre>
  <p>In jQuery 3.0 they removed it and changed it.
  If I follow their documentation and change it to</p>
  <pre><code>$(&quot;#Table2&quot;).on(&quot;load&quot;, location.href + &quot; #Table2&quot;);
  </code></pre>
  <p>I would get this error.
  Uncaught TypeError: Cannot create property 'guid' on string</p>
  <p>Can someone help me figure out how to refresh a div</p>