Last night I was trying to get some simple AJAX working in Rails. I used my form_remote_tag, I had my DIV ready, wrote my controller action, and nothing was working. I called my colleague and realized that I had forgotten to include the Javascript required using:
<%= javascript_include_tag :defaults %>
Duh.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment