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.
<
One (ugly) method you could use is to instead of using window.location, clearing the body, adding an iframe with the relevant path and listening to its onload function. After that you can run code inside the iframe as long as it's not cross-site scripting.
I use this method to perform small automated scripts, that can't really on third-party plugins.
Another method might be using ajax to load the page/body content. Then replacing your body with the newly loaded body and start executing the next functions.