#view
<%form_tag :action=>“some_action” do -%>
<%=text_field "user","name"-%> | <%=observe_field :user_name,:update=>"name_response",:url=> {:controller=>"login",:action=>"check_name"},:with=>"input_name",:on=>"blur"- %> |
#view
<%form_tag :action=>“some_action” do -%>
<%=text_field "user","name"-%> | <%=observe_field :user_name,:update=>"name_response",:url=> {:controller=>"login",:action=>"check_name"},:with=>"input_name",:on=>"blur"- %> |
Hi,
On Thu, 2009-03-05 at 18:49 -0800, daociyiyou wrote:
#view
<%form_tag :action=>“some_action” do -%>
<%=text_field "user","name"-%> <%=observe_field :user_name,:update=>"name_response",:url=> You’re using form_tag which means that the params hash is not bound to
an object. Both your text_field syntax and your observe_field syntax
assume otherwise. Make them match. Also, you’re headed for nothing but
trouble trying to use Ajax on tables. Microsoft controls how tables
work. And they don’t work well with Ajanx.HTH,
Bill
thanks.
On Thu, 2009-03-05 at 23:04 -0800, daociyiyou wrote:
thanks.
You’re welcome.
Best regards,
Bill
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs