JavaScript: 2 window.opener.location.href statements with alert() in between not functioning
- by vastbeyond
I need to make a little JS app to scroll automatically through a list of URLs. I've chosen to have the functionality in a pop-up, for various reasons.
The syntax to change the opening window's URL is:
window.opener.location.href = "http://www.example.com";
This works fine with one URL, but if two statements are called, only one is executed. I…