Hi, Version: prototype 1.6.0 I''m using the $F function to get the value of a field. It works fine in FireFox, but IE 6 and 7 are reporting "object does not support his property or method" (translated from german). In IE debugger it hightlights the line 3485: --- return Form.Element.Serializers[method](element); --- I searched the web, but this problem seems to be quite unique :-( Does anyone have any idea? Additional information: 1.) I include the prototype.js with this line: --- <script language="JavaScript" type="text/javascript" src="/kunden/ comdok/die/openwebcms3.nsf/(ynDK_fileContainerByKey)/framework/$FILE/ prototype.js"></script> --- 2.) the call in which the error occurs is: --- <input type="button" name="startsearch" value="Suche starten" onclick="searchPublikation(document.SearchPub.query.value, $F(''author''), $F(''series''), $F(''lang''), $F(''year'') )"> --- --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Are you calling $F from inside of a either a ''load'' or ''dom:loaded'' observer? If it''s an inline script, is it placed *below* the elements you are calling in the DOM ? Regards, Tobie On Nov 16, 5:26 pm, JulianBuss <JulianB...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi, > > Version: prototype 1.6.0 > I''m using the $F function to get the value of a field. It works fine > in FireFox, but IE 6 and 7 are reporting "object does not support his > property or method" (translated from german). > In IE debugger it hightlights the line 3485: > --- > return Form.Element.Serializers[method](element); > --- > > I searched the web, but this problem seems to be quite unique :-( Does > anyone have any idea? > > Additional information: > 1.) I include the prototype.js with this line: > --- > <script language="JavaScript" type="text/javascript" src="/kunden/ > comdok/die/openwebcms3.nsf/(ynDK_fileContainerByKey)/framework/$FILE/ > prototype.js"></script> > --- > > 2.) the call in which the error occurs is: > --- > <input type="button" name="startsearch" value="Suche starten" > onclick="searchPublikation(document.SearchPub.query.value, > $F(''author''), $F(''series''), $F(''lang''), $F(''year'') > )"> > -----~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Sorry, I should have read your post more attentively before replying. What I meant to check was whether or not the elements you are calling do exists. Is their id unique ? Best, Tobie --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
yes the elements exists, since it works fine in Firefox. Their ID is unique. Thanks for your help! On 16 Nov., 17:36, Tobie Langel <tobie.lan...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Sorry, > > I should have read your post more attentively before replying. > > What I meant to check was whether or not the elements you are calling > do exists. > > Is their id unique ? > > Best, > > Tobie--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Maybe Matching Threads
- Form.Element.getValue for checkboxes and radios?
- getValue() in a Controller problem, help please.
- ActiveModel::Serializers::JSON support arbitrary keys
- active_model_serializers, more than one level deep of associations, specifying serializers per association
- PeriodicalUpdater onComplete broken?