title: How to refresh div onclick in jquery?
body: <p>I'm new to jquery programming. I was curious if there is a way to refresh div on button click? I only know window.location.reload() method, but it refreshes my whole page.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>    &lt;div id="container"&gt;
        &lt;div id="content"&gt;
          &lt;p style="border: 2px solid black"&gt;
            What's up?
          &lt;/p&gt;
        &lt;/div&gt;
        &lt;button&gt;Refresh DIV&lt;/button&gt;
      &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>