For example, user clicked link in iframe and i want in parent.html to show spinner. And i have cross domain iframe.
For example, user clicked link in iframe and i want in parent.html to show
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.
bind the click event of any element from the iframe to an event handler in the parent.
Using jquery:
UPDATE:
suppose in the parent you have the following function:
and your iframe contains a link with the class “LinkInIframe”, just do this in the iframe: