<div class="codetitle"> <span><a style="CURSOR: pointer" data="89164" class="copybut" id="copybut89164" onclick="doCopy('code89164')"><u>複製程式碼</u></a></span> 程式碼如下:</div> <div class="codebody" id="code89164"> <br>//節點的移動<br><br>!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <br> <br> <br><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <br><title>jquery5</title> <br><script type="text/javascript" src="jquery-1.7.2.js"></script> <br><script type="text/javascript"> <BR>//節點的移動<BR>$(function(){ <BR>$( "ul li:eq(2)").insertAfter("ul li:eq(4)"); <br><br>}); <BR></script> <br> <br> <br><p title="hello world">您覺得聖思園訓練好不好呢? </p> <br><ul> <br><li title="1">好</li> <br><li title="2">很好</li> <br><li title="3">很好</li> <br><li title="4">特別好</li> <br><li title="5">太好了</li> <br><li title="6">好的無法描述了</li> <br> </ul> <br> <br> <br> </div>