We can define a code called by JS in the <script> fragment, but the code is not displayed on the page. In this case, we can use the following method: <br></p>
<div class="codetitle">
<span><a style="CURSOR: pointer" data="89495" class="copybut" id="copybut89495" onclick="doCopy('code89495')"><u> Copy the code </u></a></span> The code is as follows: </div>
<div class="codebody" id="code89495"> <br><script id="commentTemplate" type="text/html"> <br><li> <br> <div class="photo"> <br><a href="#"> <br><img src="[UserImg]" /></a></div> <br><p> <br><a href="#">[UserName]:</a><span class="time">[CreateDate]</span></p> ; <BR><div class="clear"> <br></div> <br></li> <br></script>