I am experimenting using a transparent div over an iframe (not same origin) to catch events. I can catch the events with a transparent div over the iframe, but is there a way to let events get to iframe, too?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No, this is not possible. There is only one target to an event, if you have a div in front of the iframe then it will be the target and it will never reach the iframe.