<script> <BR>function HighLight(nWord){ <br><br>if(nWord!=''){ <br><br>var keyword = document.body.createTextRange(); <br><br>while(keyword.findText(nWord)){ <br><br>keyword.pasteHTML("<span style='color:red;'>" + keyword.text + ""); <br><br>keyword.moveStart('character',1); <br><br>} <br><br>} <br><br>} <br><br>function highword(nWord){ <br><br>var array = nWord.split(","); <br><br>for(var i=0;i<array.length;i++){ <br><br>HighLight(array[i]); <br><br>} <br><br>} <BR></script>
liujinzhong liujinzhong liuzhong
2.
Test Page liujinzhong liujinzhong liuzhong