Use window.parent.location.href;
alert(window.parent.location.href);
Output:
How to get entire URL in Client Script ?
Expert Edited question July 18, 2023
Use window.parent.location.href;
alert(window.parent.location.href);
Output: