Is is possible to call a function after window.location has loaded new URL?
<p>I'd like to be able to call a jquery function once window.location has completed loading a URL.  Is this possible?  I can't seem to find anything online about this.</p>

<p>for instance:</p>

<pre><code>if(parseInt(msg.status)==1) {
    window.location=msg.txt;
    alert("This URL has finished loading")
}
</code></pre>

<p>Thanks,
-Paul</p>
