Load model with Ajax and jQuery to load a form

Hi all, I am having troubles to figure out how I can load data via
ajax and inject those data in a form.

Basically, I have a table of users. Each user has an edit button. On
click, I want to load this user’s data and pop out an modal box
containing a form filled with the users data so I can edit them.

Creating such a thing to create a new user was fine but I don’t see
how I can populate the edit form.


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs