Copy codeThe Code is as follows:
<! DOCTYPE html PUBLIC "-// W3C // dtd html 4.01 Transitional // EN" "http://www.w3.org/TR/html4/loose.dtd">
<Html>
<Head>
<Meta http-equiv = "Content-Type" content = "text/html; charset = UTF-8">
<Title> jquery6 </title>
<Script type = "text/javascript" src = "jquery-1.7.2.js"> </script>
<Script type = "text/javascript">
// Move the node
$ (Function (){
// The remove Method returns the jquery object of the removed node.
// Var removeLi = $ ("ul li: eq (3)"). remove ();
// RemoveLi. appendTo ($ ("ul "));
// $ ("Ul li"). remove ("li [title! = 2] ");
// Clear the content in the element
$ ("Ul li: eq (3)"). empty ();
});
</Script>
</Head>
<Body>
<P title = "hello world"> do you think the Shengsi garden training is good? </P>
<Ul>
<Li title = "1"> good </li>
<Li title = "2"> good </li>
<Li title = "3"> excellent </li>
<Li title = "4"> excellent </li>
<Li title = "5"> great </li>
<Li title = "6"> I cannot describe it </li>
</Ul>
</Body>
</Html>