Organizational Research By

Surprising Reserch Topic

jquery split long ul list in smaller lists


jquery split long ul list in smaller lists  using -'jquery,html,split,html-lists'

I have a long UL list I need to break up in smaller lists containing about 20 items each.

I was thinking I could use something like

$(function() {
    $("ul li:nth-child(20n)").after("</ul><ul>");
});


but that's not the case. Any idea how to use jQuery in a way that uses minimal CPU?
    

asked Sep 9, 2015 by TNMJoycelyn
0 votes
19 views



Related Hot Questions

10 Answers

0 votes
NULL
answered Sep 9, 2015 by JaneenCoveny
0 votes
NULL
answered Sep 9, 2015 by XavChaffin
0 votes
NULL
answered Sep 9, 2015 by NPLDix
0 votes
NULL
answered Sep 9, 2015 by TanGant
0 votes
NULL
answered Sep 9, 2015 by MacPrellnyto
0 votes
NULL
answered Sep 9, 2015 by NorineHardey
0 votes
NULL
answered Sep 9, 2015 by NannieLillic
0 votes
NULL
answered Sep 9, 2015 by MarkoGuajard
0 votes
NULL
answered Sep 9, 2015 by UrsMetcalfe
0 votes
NULL
answered Sep 9, 2015 by MabelJ14nrt

...