ah sorry, it is overwriting the value of the argument. but this does not make sense. ``commentHtml`` contains a jquery object after than instead of some HTML. Can you rename the local variable storing the jquery collection to ``newComment`` instead ?