title: How to use jQuery ajax reload the page that the user doesn't know is the page being reloaded?
body: <p>I used some source on StackOverflow, but I still see the page being loaded (on the tab) when I use ajax.
  I want to use ajax to reload the page without the user knowing that the page is being reloaded.</p>
  
  <pre><code>success: function(data){
     if(data.success == true){ // if true (1)
        setTimeout(function(){// wait for 5 secs(2)
             location.reload(); // then reload the page.(3)
        }, 5000); 
     }
  }
  </code></pre>
  
  <p>Thanks!</p>