Has anyone found a way to get onComplete to fire in IE? I''ve built a bunch of functionality around Updater and this is a show-stopper for me. I''m on the latest Scriptaculous. Thanks much, Jamie
Jamie Orchard-Hays
2006-Apr-18 18:53 UTC
Re: Ajax.Updater: getting onComplete to fire in IE
To answer my own question...
It turns out that onComplete wasn''t the issue. Rather, a form was
calling a function that created a new Ajax.Updater and passed itself
as that function''s parameter. IE didn''t work with the form
trying to
update itself, so I called a wrapping <div> and all works now:
function handleInlineForm(aform){
var form = $(aform);
var parent = $(form).parentNode;
return new Ajax.Updater(parent.id, form.action, {
method:''post'',
postBody: Form.serialize(form),
........
Jamie
On Apr 18, 2006, at 11:35 AM, Jamie Orchard-Hays wrote:
> Has anyone found a way to get onComplete to fire in IE? I''ve built
> a bunch of functionality around Updater and this is a show-stopper
> for me. I''m on the latest Scriptaculous.
>
> Thanks much,
>
> Jamie
> _______________________________________________
> Rails-spinoffs mailing list
> Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs