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
<
$('#iframe').load(function() { var src = $('#iframe').contents().find("html").html(); alert(src); });