title: Onclick reload the div only
body: <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>$(window).load(function() {      
    $("#Button").click(function() {
      alert('clicked')
      $("#div").load(" #div &gt; *");
    });
  });</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"&gt;&lt;/script&gt;
  &lt;script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"&gt;&lt;/script&gt;
  &lt;link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet"/&gt;
  
  &lt;button id="Button" class="btn btn-warning"&gt;Refresh&lt;/button&gt;
  &lt;div class="col-md-3" id="div"&gt;
  
    &lt;div class="alert alert-warning alert-dismissible fade in" role="alert"&gt;
      &lt;button type="button" class="close" data-dismiss="alert" aria-label="Close"&gt;
        &lt;span aria-hidden="true"&gt;×&lt;/span&gt;
      &lt;/button&gt;
      &lt;strong&gt;Holy guacamole!&lt;/strong&gt;
    &lt;/div&gt;
    &lt;div class="alert alert-danger alert-dismissible fade in" role="alert"&gt;
      &lt;button type="button" class="close" data-dismiss="alert" aria-label="Close"&gt;
        &lt;span aria-hidden="true"&gt;×&lt;/span&gt;
      &lt;/button&gt;
      &lt;strong&gt;Holy guacamole!&lt;/strong&gt;
    &lt;/div&gt;
    &lt;div class="alert alert-success alert-dismissible fade in" role="alert"&gt;
      &lt;button type="button" class="close" data-dismiss="alert" aria-label="Close"&gt;
        &lt;span aria-hidden="true"&gt;×&lt;/span&gt;
      &lt;/button&gt;
      &lt;strong&gt;Holy guacamole!&lt;/strong&gt;
  
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  <p>Heres the code where am trying to <code>reload</code> the div when I <code>click</code> the Refresh <code>button</code>, nothing is happening, as I am a learner of jQuery and JS am not having much knowledge about this.</p>
  <p><a href="https://jsfiddle.net/zeasts/hztzketh/" rel="nofollow noreferrer">Fiddle</a> link</p>
  <p>Thanks</p>
  <h1>zeasts</h1>