I setup an observe_field and it works great in firefox, but there is not response in Safari. Here is the code that works perfect in firefox: <div class="optional"> <label for="first_name">Email Address:</label> <%= f.text_field :email_address, :class => ''inputText'', :id => :account_login %> </div> <%= observe_field :account_login, :url => { :action => :account_login }, :frequency => 0.25, :update => :account_login, :with => ''email_address'' %> <div id="account_login" class="account_login"> </div> Any ideas? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 26 Feb 2008, at 22:02, Jimmy Palmer wrote:> > I setup an observe_field and it works great in firefox, but there is > not > response in Safari. > > Here is the code that works perfect in firefox: > > <div class="optional"> > <label for="first_name">Email Address:</label> > <%= f.text_field :email_address, :class => ''inputText'', :id => > :account_login %> > </div> > > <%= observe_field :account_login, :url => { :action > => :account_login > }, > :frequency => 0.25, > :update => :account_login, > :with => ''email_address'' > %> > > <div id="account_login" class="account_login"> > </div> >You''ve got 2 things on the page with id account_login, that could quite legitimately confuse safari (ie perhaps it is trying to observe changes on the div) Fred> Any ideas? > -- > Posted via http://www.ruby-forum.com/. > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Frederick Cheung wrote:> On 26 Feb 2008, at 22:02, Jimmy Palmer wrote: > >> :account_login %> >> <div id="account_login" class="account_login"> >> </div> >> > You''ve got 2 things on the page with id account_login, that could > quite legitimately confuse safari (ie perhaps it is trying to observe > changes on the div) > > FredFred...you''re a genius. :) i miss those subtleties sometimes. thanks for your help -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---