Custom protocol in text field

Custom protocol in text field


hi,
 
i want to add text in a text field when somebody changes or edit a item with editform.aspx.
for example:
 
change of status-->log in text field: current user changes status to solved
 
all changes should be in one field.
is it possible?
 
that's my code...but i don't get the text in text field to add new text.  
 
var arrKommentare = ['Kommentare'];
var originalText = $(fields['Kommentare'].find('input').val();
$(fields['Kommentare']).find('input').val(originalText +"\n\nYournewtext");
 
 
thanks
 
jan