Mega Code Archive

 
Categories / JavaScript Tutorial / JQuery
 

Slice paragraphs to include only the second and third element

$("p").slice(1).wrapInner("<b></b>");