11175
(-- --)
February 26, 2008, 10:02pm
1
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?
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