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?