Page 1 of 1

Parent event

Posted: Sat Aug 27, 2022 2:36 pm
by amir2314
Hi dear pablo .
.
How can i have a parent event ?
I have an iframe with button inside this and i want to when i click on button event start from parent page outside the i frame

Re: Parent event

Posted: Sat Aug 27, 2022 2:55 pm
by crispy68
My guess is you will need to use javascript. Unless someone on here has already done such a thing and can.provide the code, we can't really assist in writing code. Have you googled to see what is out there?

Re: Parent event

Posted: Sun Aug 28, 2022 3:23 am
by rogerl
I've seen this used in a script if that's of any help:

Code: Select all

 afterClose: function(){
    parent.location.href = "your page.html";
},
"your page" being the name of your parent page