Reload a page with location.href or window.location.reload(true) : <p>I need to reload a page in a success of an ajax call.</p>

<p>I'm seeing some code (not mine) and there are two ways:</p>

<pre><code>success : function(obj) {
//code
        location.href = location.href;
    }
</code></pre>

<p>or</p>

<pre><code>success : function(obj) {
//code
        window.location.reload(true);
    }
</code></pre>

<p>Is there any difference in the behaviour? I know the difference of both location and window.location but in terms of do the job?</p>
