Re: [Proto-Scripty] Re: Error with Element.insert({Bottom

2010-03-01 Thread green
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

Re: [Proto-Scripty] Re: Error with Element.insert({Bottom

2010-03-01 Thread Walter Lee Davis
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

Re: [Proto-Scripty] Re: Error with Element.insert({Bottom

2010-02-26 Thread Walter Lee Davis
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'))