dynamic text replacement is a breeze in jquery (http://jquery.com)
$("#someclass").html("new text for all the items with class someclass!!!")
and doing it via ajax is only a few lines longer!