<form> is not allowed between <tr> and <td> or between <table> and <tr>.
It is a major inconvenience but that is the way it is.


2009/2/11 [email protected] <[email protected]>

>
>
> If I do observe_form as below, the ajax call never occurs, but If I
> remove the table it works fine.
> This is just a test to troubleshoot as I had narrowed down my problem
> to this, I actually wanted a form per row of the table:
>
> <table>
> <tr>
>
>  <% form_tag({:controller => 'sheet_entry', :action =>
> 'pass_input'}, :id => 'frmx1') do %>
>   <td> hey <%= text_field_tag 'xx', 'xxx' %> </td>
>
>  <%= observe_form('frmx1', :url => {:action => 'ajx_form_changed'},
>                  :frequency => 0.5)%>
>
>  <% end %>
>
> </tr>
> </table>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to