Hello - I'm trying to use a form_remote_tag to make a submit button to fire off an Ajax call. When I add this form_remote_tag code I don't see a submit button where there should be one.
I'm following the example given in the Agile Web Development book starting on page 122.
The code I'm using as follows
<% form_remote_tag :url => { :action => :add_to_cart, :id => product } do %>
<%= submit_tag "Add to Cart" %>
<% end %>
I also have enabled the javascript_include_tag :defaults like this
Bookmarks