xfedex-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Dec-14 16:06 UTC
Nested Prototype Ajax request error on IE7?
Hi all!
This (thing) works fine on FF, but not on IE:
<span onclick="
new Ajax.Request(''save_data.php'', {
parameters:$(''form'').serialize(true),
evalScripts:true,
onComplete:function(r) {
new Ajax.Updater(''feedback'',
''feedback.php'', {
parameters:{return:r.responseText},
evalScripts:true,
onComplete:function(){
setTimeout(''new
Ajax.Updater(\''list\'', \''
refresh.php\'', { evalScripts:true })\'', 1300);
}
});
}
}); "><img src="image.png"
/></span>
It''s just a regular "save form data" button...
If I comment it all, it doesn''t throw error on IE.
Is there something wrong in my code?
Thanks in advance,
Federico.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---