cross domain iframe

15 views
Skip to first unread message

NRG

unread,
Aug 8, 2009, 10:08:15 AM8/8/09
to Coffee'n'Code Киев
function uploadCallback(isTimeout) {
var data = '';
var io = document.getElementById("uFramaId");
try {
if (io.contentWindow) {
data = io.contentWindow.document.body ?
io.contentWindow.document.body.innerHTML : null;
} else if (io.contentDocument) {
data = io.contentDocument.document.body ?
io.contentDocument.document.body.innerHTML : null;
}
} catch(e) {
// alert("errrrrr " + e);
}
eval("data = " + data);
desanimationByEvent();
showError(data.result);
}

CTAPbIu_MABP

unread,
Aug 8, 2009, 1:38:43 PM8/8/09
to coffe...@googlegroups.com
да, нельзя :(

2009/8/8 NRG <melnik...@gmail.com>:

Legaev Andrey

unread,
Aug 8, 2009, 4:46:08 PM8/8/09
to Coffee'n'Code Киев
Вопрос снят? ;)

On Aug 8, 8:38 pm, CTAPbIu_MABP <ctapbium...@gmail.com> wrote:
> да, нельзя :(
>
> 2009/8/8 NRG <melnikval...@gmail.com>:

CTAPbIu_MABP

unread,
Aug 9, 2009, 4:42:02 AM8/9/09
to coffe...@googlegroups.com
да

2009/8/8 Legaev Andrey <and...@legaev.com>:
Reply all
Reply to author
Forward
0 new messages