[Proto-Scripty] Re: Updater from within an iframe

2008-11-18 Thread Matt Foster
Looking into the syntax, it executes the Element.update method on the container, as your container exists within the IFRAME, I'm assuming it doesn't have these extended methods. You could take two approaches from here. Extend the element before sending Ajax.Updater the reference or Use Ajax.Re

[Proto-Scripty] Re: Updater from within an iframe

2008-11-18 Thread Ron Newman
Yep, tried that. I was trying to be SUBTLE by mentioning that it wanted a string as the first argument, but that's what I meant, that I tried assigning a var and then passing that. Seems it should work but it didn't. On Tue, Nov 18, 2008 at 10:11 AM, Matt Foster <[EMAIL PROTECTED]>wrote: > > >

[Proto-Scripty] Re: Updater from within an iframe

2008-11-18 Thread Matt Foster
> new parent.Ajax.Updater('target', './refresh.php5, { method: You're sending a string, try using a direct object reference... var ele = window.document.getElementById('target'); ele.innerHTML = "Loading..."; new parent.Ajax.Updater(ele, './refresh.php5, ... On Nov 17, 4:37 pm, ronman <[EM