mandar77
2008-Apr-03 11:20 UTC
Changing the prototype.js from 1.5.0 to 1.6.0.2 causes error in javascript code.
Hi, I am a new member of this group. We are using autocomplete box from "script.aculo.us". It uses the prototype.js file. We are creating the auto completer dynamically in a table. Our code was working on FireFox(FF) but was giving error on InternetExplorer(IE). So we upgraded the prototype.js file today from version 1.5.0 to 1.6.0.2. Only this particular change was done. When we accessed the application after the change it started displaying "Too much Recursion" error in FF error console. The autocompleter stopped functioning. On IE it shows an alert message of "Stack overflow at line:0", but the auto completer started working. Please help. Any suggestions or links will be appreciated. Thanks Mandar --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Walter Lee Davis
2008-Apr-03 15:19 UTC
Re: Changing the prototype.js from 1.5.0 to 1.6.0.2 causes error in javascript code.
Make sure that you have a "matched pair" of Prototype and Script.aculo.us. I try to stick to whatever the latest package is, and replace Prototype with the version that ships with Scripty whenever I make any change to Scripty. You will find it in the /lib folder under the main Script.aculo.us package, where /src has all the libraries of Scripty. Also, be sure that you clear out any browser caches (and server caches, if applicable). The error you are getting tells me that you have a mis-match between libraries. Walter On Apr 3, 2008, at 7:20 AM, mandar77 wrote:> > When we accessed the application after the change it started > displaying "Too much Recursion" error in FF error console. The > autocompleter stopped functioning. > On IE it shows an alert message of "Stack overflow at line:0", but the > auto completer started working. >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---