How do I maintain the scroll position of the parent page when I open new window using window.open()? The parent page returns to the top of the page.
Here is my current code:
<a href='#' onclick='javascript: window.open('myPage.aspx');'> Open New Window </a>
javascript:is not required in event attributes.<a href='#'>Scroll to top</a>.