Here is my situation.
I have a file called iframe.html, which contains the code to for a image slideshow. The code is somewhat like
iframe.html
<
var iframe = document.getElementById('iframe'); $(iframe).contents().find("html").html();