$('id_of_element').update("foo")
My test
Testing preview...
Line breaks seem to be a bit odd in the preview - hmmm
(now is ok?)