Return to Snippet

Revision: 28474
at July 8, 2010 17:30 by omerta83


Initial Code
$(" 
<ul> 
<li> </li> 
</ul> 
 
") // li  
  .find("a") // a  
    .attr("href", "http://www.google.com/") // a  
    .html("Google!") // a  
  .end() // li  
  .appendTo("ul");

Initial URL

                                

Initial Description

                                

Initial Title
Using .end() for effective traversing

Initial Tags
javascript, jquery

Initial Language
JavaScript