On 6 Jan 2009, at 14:07, Zhao Yi wrote:

>
> I use render in a view page like this:
>
> <% form_for :project do |form|  %>
> <table>
>     <tr>
>  <td>
>  <%=
>  select_tag:project_selection,options_for_select(@project_names)
>  %>
>  <%=
>  observe_field :project_selection,
>    :frequency => 0.5,
>    :update => 'project_version_ajax',
>    :url => {:action => 'update_project_selection'} %>
>  </td>
>    </tr>
>    <div id='project_version_ajax'>
>  <%= render :partial=>'project_version' %>
>    </div>
> </table>

I don't believe it's legal HTML to have a div there.

Fred
>

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