Question explains everything.
I have an iFrame on a page.
I’d like to wait for the iFrame’s content to LOAD completely before the iFrame is shown.
What is the easiest way to do this?
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.
If
completelymeans waiting until alliframeDOM is loaded, then the easiest way which works fine for me is using jQuery:Check the solution here: http://jsfiddle.net/YTGaT/
However, if you need to wait until all images/flash/etc in the
iframeare completely loaded then I believe the solution won’t be definite and successful.