window.location.href
Hi, I am doing window.location.href=<url> followed by an alert("hello") and then a document.getElementsByTagName('a'). It navigates to the url, but no alert box comes up and I am unable to get the elements on the new page. What is going on? Thanks.
|