Hello guys, I have been working a bit with RoR and I like it a lot!
I have been playing with AJAX for a while (btw how do you pronounce
AJAX? ah-jax? a-jax) and I stumbled with “in place editor” stuff.
I got a “remote” form for a Person model working so whenever the user
clicks the name of a person, it gets replaced with the “in place
editor”! that’s cool huh? it even got a nice highlight effect. But…
There’s the but, what I want to do is this:
- User clicks on “edit” link (that’s to the side of the name) and
the name of the person get’s replaced with the “in place editor”.
Basically my problem is that the “in place editor” substitutes only
the stuff you click on? right? if not, help me get it right pls!