can u try $('wieder_komp_1').insert({bottom:'moep'});
On Mon, Mar 1, 2010 at 1:27 PM, ferengi wrote:
> Moin..
>
> now test this :
>
> $
>
> (top.opener.document.getElementById('wieder_komp_1')).insert({'bottom':'moep td>'});
>
> but i get an Error
>
> TypeError: $(top.opener.document.getElement
You have control over both documents, right? Does the opener document
have Prototype in it? Another tack you might try is to have declared a
function in the global namespace of the opener document that does what
you need it to. Then you can call that without needing to follow a
chain of ext
Aha, I think you might need to combine both of those. Since you're
calling opener in there, you're reaching out of the current document
to another document that might not already have extended elements. You
might need to try this:
$(top.opener.document.getElementById('body_weider_komp_1'))