Displaying 1 result from an estimated 1 matches for "person_fnam".
Did you mean:
person_fname
2006 May 03
1
form :onblur => ''this.form.submit()'' doesn''t do AJAX
Hi,
I''m looking to create a form that gets submitted using AJAX after an
element loses focus.
<% remote_form_for :person, @person, :url => { :action => "save" },
:update => ''form'' do |f| %>
<label for="person_fname"><span class="req">*</span>Name</label>
<div class="form_el">
<%= f.text_field :naam, :size=>50, :onblur => ''this.form.submit()'' %>
</div>
<% end %>
This doesn''t work though, it submits the fo...