Difference between window.location and href?
<p>What's the difference between this word and action?</p>

<pre><code>&lt;script&gt;
window.location.href = 'index.php';
window.location = 'index.php';
&lt;/script&gt;
</code></pre>

<p>because some instances that after clicking the button there is a milisecs thats see the way of changing the page..what is that? </p>
