[jQuery] A little different edit in place. (use a link to initiate the edit)
Hey,
The subject might be a little strange but i didn't know how to put it..
What i want to try is making a piece of text with a "Edit" link next
to it. now i don't want the text to initiate the "edit in place" when
you click on it (so that's just edit in place) but i want ti initiate
it when i click on the link "Edit". So i guess that can be called
"Edit on link click"
Here is a screenshot where i'm trying to get it to work:
http://img508.imageshack.us/img508/2213/editonlinkclickmq2.png
I hope someone could help me with this.
i tried to put this:
$("#username").editable("???", {
cssclass : "someclass"
});
in a function and than call the function when you click the link but
that didn't work.
Thanx.