Jquery code for mobile nodes

  • 2020-03-30 01:22:59
  • OfStack

//Node movement

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 
<script type="text/javascript" src="jquery-1.7.2.js"></script> 
<script type="text/javascript"> 
//Node movement
$("ul li:eq(2)").insertAfter("ul li:eq(4)"); 

<p title="hello world"> What do you think of the training in shengsi park? </p> 
<li title="1"> good </li> 
<li title="2"> Very good </li> 
<li title="3"> Very good </li> 
<li title="4"> Very good </li> 
<li title="5"> Too good </li> 
<li title="6"> Good beyond description </li> 

Related articles: