title: How to reload page once only without repeating loading
body: <p>I have the following code to reload page only once after submitting some data using JQuery. </p>
  
  <p>code to reload page :</p>
  
  <p><code>update: the url here is not ending with '?' because it has parameter value
  for example: http://localhost:49208/UserView.aspx?id=12
  </code></p>
  
  <pre><code>  var url = window.location.href;
      if (url.indexOf('?') &gt; -1) 
          {
           window.location.href = url;
          }
  </code></pre>
  
  <p>The problem here is that page reloading does not stop? </p>