[jQuery] Edit in place help?

[jQuery] Edit in place help?


Hello all,
I am trying to create an edit in place page that draws some multiple
pieces of text from a database, just like this example:
http://15daysofjquery.com/examples/jqueryEditInPlace/demo.php How do
i assign a value to the

tag so that php will know which section of
text has been edited? And what do I need to change in this function
to make sure it will work send the edited text to "update.php".
function saveChanges(obj, cancel, n) {
if(!cancel) {
var t = $(obj).parent().siblings(0).val();
$.post("update.php",{
content: t,
n: n
},function(txt){
alert( txt);
});
}
else {
var t = cancel;
}
Thank you for any help!!
-Chris