title: jQuery Refresh/Reload Page if Ajax Success after predicted time
body: <p>I use Jquery to make an Ajax request. The server returns Json object with value &quot;true or false&quot; like this:</p>
  <pre><code>return Json(new { success = false, JsonRequestBehavior.AllowGet });
  </code></pre>
  <p>Is there any way to refresh page after 5 seconds if the server returns true?</p>