the onsucess will be called on an http 200 response. http redirects are usually not understood by the javascript frameworks.
On 12/23/08, M Kenyon II <[email protected]> wrote: > > I have this javascript: > new Ajax.Request(url, {method: 'get', evalScripts: true, parameters: > pars, onException: error, onSuccess:successFunction}); > > the url is load.rails > > The load method runs to the end. The last thing it runs is > RedirectToAction("Index", Request.QueryString); > > The Index method also runs to the end. > > Then the .brail page loads. > > The javascript successFunction never gets called. > > I can't seem to find what is not working right. What would trigger the > onSuccess status? > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Castle Project Users" 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/castle-project-users?hl=en -~----------~----~----~----~------~----~------~--~---
