Displaying 2 results from an estimated 2 matches for "create_ajax".
2009 Feb 10
2
form_remote_for NOT passing param: I want put and I get post
...and I want to submit it
using Ajax.
On previous versions of RoR (2.0.2) it was working, but the same methods
doesn''t work on 2.2.2, and I started to make changes and changes and
read forums and the api, but no way ...
<% form_remote_for (:expedient, :url => {:action => ''create_ajax''},
:update =>''div_listd'') do |f| %>
<table class="edit">
<tr>
<td class="label" width="100px">Referencia</td>
<td class="data"><%= f.text_field :reference %></td>
<td><...
2009 Feb 10
0
Re: form_remote_for NOT passing param: I want put and I get
...no way ...
>>
>
> Random guesses: assuming that the page contains more than just this:
> - are all dom ids unique
> - have you got nested forms ?
>
> Fred
Here is the .erb file:
<% form_remote_for (:expedient, :method => :put, :url => {:action =>
''create_ajax''}, :update =>''div_listd'') do |f| %>
<%= f.error_messages %>
<table class="edit">
<tr>
<td class="label" width="100px">Referencia</td>
<td class="data"><%= f.text_field :reference %&...