Hi, in cakephp2 I used the below code to exit out of an iframe and it worked fine but not in cakephp3. Running the below code from a file works fine but inside an iframe it doesnt load/work. How can I get this to work inside an iframe? I have a few hours with fiddling around but it just doesnt work.
All i need to do is call a view and redirect to the below website. This code runs inside an iframe but cant redirect out of the iframe.
window.top.location.href = 'https://www.aptutoring.com.au/thank-you-application/';