I am making a todo list application for learning purposes, but am having problems with getting the ajax buttons to show up. The below code does not render out any text. I did check the category.name value and it works fine when not within the form_remote_tag. I do have the javascript libraries within the head tag. In the final rendered output all I get is a bunch of li elements. Thanks for any help. <li> <% form_remote_tag :url => {:action => :show_tasks, :id => category} do %> <%= submit_tag category.name %> <% end %> </li> --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Well it seems the issue was in the form_remote_tag. I used an older, deprecated, form tag and it then worked as it should. I have looked over the syntax in comparison to a number of examples a book I have, and I can''t see anything wrong with it, but there must be something. ''The one that works <li> <%= form_remote_tag :url => {:action => :show_tasks, :id => category} %> <%= submit_tag category.name %> <%= end_form_tag %> </li> --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---