Click here to read about this example in my blog

The difference between different traverse methods in jQuery

This is a demonstration of how the jQuery methods add(), filter() and find() work.



Code run


      
      

Testarea

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed dictum aliquam pretium. In tincidunt feugiat felis, ut feugiat elit tincidunt et.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed dictum aliquam pretium. In tincidunt feugiat felis, ut feugiat elit tincidunt et.

A link

Result from the jQuery selection