Topic: :interactive ajax callback?
Now I can make a link_to_function to prompt for the name but that doesn't send the name back to the server.
<%= link_to_function 'add', 'prompt("Category name?")' %>
If I use link_to_remote I can send the query but I can't send the prompt before the update action is called.
I noticed a callback called :interactive in the api for link_to_remote but I can't find any information on how to use it.
Any thoughts would be much appreciated.
* Multiple child models in a dynamic form