$has special meaning when included in a string for the second argument of a call replace(). Usually you should use it to refer to matched expressions in the source string. For instance:
"foo foooo".replace(/fo+/g, "$&bar");
//-> "foobar foooobar"
$& , foo foooo .
$. $ , , . 3 $, 6 :
var sHtml="<_content_>";
var s="$$$$$$Test";
sHtml= sHtml.replace("<_content_>", s);
//-> "$$$Test"