SyntaxFix
Write A Post
Hire A Developer
Questions
I would use Prototype's update method which supports plain text, an HTML snippet or any JavaScript object that defines a toString method.
update
toString
$("field_name").update("New text");