This Railscast gives a nice example of using RJS to add and remove form fields dynamically without hitting the server with an ajax call.
These RJS tips may also be helpful.
This Railscast gives a nice example of using RJS to add and remove form fields dynamically without hitting the server with an ajax call.
These RJS tips may also be helpful.