[jQuery] Use iFrame like a normal document
Hello,
Unfortunately I have to use an iframe (or unless someone else has a
better idea). I would like to load a webpage into an iframe and then
be able to use jQuery to work out where certain divs are located. Note
that it should base the locations on the iframe and not in relation to
the whole doument. So, for instance:
$("div_im_trying_to_find", my_iframe).offset();
or
$("iframe div_im_trying_to_find").offset();
Anyone know if this is possible or whether there is a better, smarter
way to go about this?
Thanks.