Hi Fall From Grace,

I have done something similar in the past, and to send the response I
use code along the lines of:

<html>
<head>
<script type="text/javascript">
function init()
{
    window.top.function_defined_in_parent_window_javascript({

    key1:'value1',
    key2:'value2',
    etc:'etc'

    });
}
</script>
</head>
<body onload="init()"></body>
</html>

Should do you.


On Jun 13, 12:57 pm, Fall-From-Grace <vizakenj...@gmail.com> wrote:
> I'm usinghttp://valums.com/ajax-upload/plugin to upload a file to
> another domain
>
> It works fine, but i cannot get domain's response. Plugin makes an
> hidden iframe with entered data, and submit it. I get response from
> domain, but cannot parse it due to 'security reasons'
>
> All i want is to get link to uploaded file, its stored on iframe, i
> see it, but dont know how can i get it.
>
> I have tried to:
> $('iframe#ValumsAjaxUpload0').contents().find("body").hide();
> or $('body', 'iframe#ValumsAjaxUpload0').hide();
>
> But got JS error: "Permission denied to get property
> HTMLDocument.nodeType" in Firebug

Reply via email to