title: How to connect window.location.reload() with bootstrap button
body: <pre><code>&lt;script type="text/javascript"&gt;
  $( document ).ready(function() {
    $.ajax({
     type: "GET",
     url: 'http://dbtest.php'
    });
  });
  </code></pre>
  
  <p></p>
  
  <p>I have a problem with window.location.reload(), becouse when i click the button  "Reload" then everything works. However, I would like to share the "Reload" was performed when you click the "Products". I have tried in various ways to achieve this, however, does not work. Please help. Thanks</p>
  
  <pre><code>&lt;body&gt;
        &lt;div&gt;
          &lt;img src ="img/logo.jpg" class="produkt logo" /&gt;
      &lt;/div&gt;
      &lt;button onclick="window.location.reload()"&gt;Reload&lt;/button&gt;
      &lt;br /&gt;
      &lt;br /&gt;
      &lt;div class="container-fluid"&gt;
          &lt;div class="row"&gt;
             &lt;div class="col-md-6 col-sm-6 col-xs-6 margin-top-10"&gt;
             &lt;div class="row"&gt;
             &lt;div class="col-md-offset-4 col-sm-offset-4 col-xs-offset-1 col-md-4 col-sm-5 col-xs-11"&gt;
             &lt;div class="app-button"&gt;
             &lt;div class="app-button-content"&gt;
             &lt;a href="Produkty.html" id="someElement"&gt;&lt;img src="img/produkty.png" class="ikona" /&gt;&lt;/a&gt;
              &lt;p class="text-center"&gt;Produkty&lt;/p&gt;
           &lt;/div&gt;
         &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  </code></pre>
  
  <p></p>