Mega Code Archive
Categories
/
JavaScript Tutorial
/
JQuery
Slices paragraphs to include only the first and second element
$("p").slice(0, 2).wrapInner("
");