Now my requirement is this: There is a link on Page A. On clicking this link, 1) Page B needs to open in a new window and 2) Page A needs to refresh and show Page C. I can effect Page B opening just using the target="_new" attribute of <a>. But I am not sure how I can effect the (2) part. Any inputs shall be highly appreciated..
Thanks for the code Joebert. Just one more query though. It shall not be considered a pop-up right? Sorry, I do not know much of coding.
That I can't help you with, I don't have much experience outside of websites that are on peoples popup blockers whitelists.
You could warn people that a new window should be expected when they click. That way, they can turn off their popup blockers before they click : ) People like being told what'll happen when they click. You can even make it a title which appears on hover "This link opens a new window and refreshes this page."