julieknoll-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Mar-15 14:34 UTC
Ajax is not defined error
I keep getting an Ajax is not defined error. Does anyone have any ideas on what could be causing this? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Sounds like a) your path to the prototype.js file is incorrect, or b) you pulled the wrong file out of SVN. Pretty straightforward problem, and fairly easy to debug. Dive into the source and figure it out. TAG On Mar 15, 2007, at 8:34 AM, julieknoll-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:> > I keep getting an Ajax is not defined error. Does anyone have any > ideas on what could be causing this? > > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
This error has occurred with me if Ididn''t have the library defined in that page, or if I had another library declared that caused a conflict. For instance, I had declared the Dojo.js lib before Prototype and it caused this. (if you declare Dojo after Prototype it works). On 3/15/07, julieknoll-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <julieknoll-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > I keep getting an Ajax is not defined error. Does anyone have any > ideas on what could be causing this? > > > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---