I need to update my JavaScript code in order to refresh a different page
window.opener.location.replace(url)
However, a problem arises when trying to specify the path to the root where the page is located. Currently, the calling code is placed in a page within another folder, making it difficult to find the page. I have attempted various methods to specify the path, such as:
//page.aspx
../page.aspx
~/page.aspx
page.aspx
/page.aspx
....