#view
<%form_tag :action=>"some_action" do -%>
<table>
<tr>
<td><%=text_field "user","name"-%></td>
<td id="name_response"></td>
<%=observe_field :user_name,:update=>"name_response",:url=>
{:controller=>"login",:action=>"check_name"},:with=>"input_name",:on=>"blur"-
%>
</tr>
</table>
....
<%end-%>
#view
the check_name method just renders a partial to response the ajax. the
observe_field works properly when it is used for select ,but not for
text_filed.i can not see any event to be invoked and not be able to
debug.i have searched the forum to get answer,but seems not to find it
about it.thanks.
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---