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
<
If you have Div as follows in one Iframe
Then you can find the text of those Div using the following code
var iContentBody = $("#ifrmReportViewer").contents().find("body");
var endLetterSequenceNo = iContentBody.find("#EndLetterSequenceNoToShow").text();
var divInnerFormText = iContentBody.find("#divInnerForm").text();
I hope this will help someone.