0

I have two different pages: the main page and the second page (that will be displayed in the main page as an iFrame).

The fact is that I cannot edit the main page, except from the iFrame href link. What I want to do is to manually trigger the iFrame "onLoad" event in the main page, by using jQuery in the second page.

This is getting really hard cause of the impossibility to edit the main page, and the only thing I managed to do is to manually trigger the "ready" event on the second page, but this is not related to the "onLoad" event, unfortunately.

Any help would be greatly appreciated. Thanks in advance.

1

1 Answer 1

1

Try

parent.$("iframe[src=myhref]").trigger("onload");
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.