Is onFailure supposed to work with Ajax.Updater? I cannot get it to
work:
new Ajax.Updater(elementID, url, {
method: 'get',
evalScripts: true,
onFailure: function() {
element.update('<strong>Error Loading Content</strong>');
}
});
If I use Ajax.Request it works flawlessly but if I use that I loose
the necessary evalScripts option.
Am I missing something here?
Thanks,
Mike
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---