I want to add some ajax functionality to my rails app with json.
what I want to do is just to create a form taking data entry.
After submitting the form, I want to grab a response in json formatt
to update the screen without re-rendering the form.
as I looked through the website, I didn’t find one yet that explains the concept
comprehensively.
could you kindly point me out any source online or any books that could teach me step-by-step to achieve the desired outcome?
http://itshouldbeuseful.wordpress.com/2011/05/23/creating-ajax-forms-with-rails-3-and-jquery/
It’d be more helpful if you stated what, specifically, you’re having issues with–adding
:remote => trueis the bulk of it.