[ad_1]
use .unwrap() and .wrapAll():
$('ul li').unwrap();
$('.a').wrapAll('<ul></ul>')
$('.b').wrapAll('<ul></ul>')
$('.c').wrapAll('<ul></ul>')
5
[ad_2]
solved Sort bullit list by li class [closed]
[ad_1]
use .unwrap() and .wrapAll():
$('ul li').unwrap();
$('.a').wrapAll('<ul></ul>')
$('.b').wrapAll('<ul></ul>')
$('.c').wrapAll('<ul></ul>')
5
[ad_2]
solved Sort bullit list by li class [closed]