I have a div structure like this
5条回答 再見小時候 (楼主) 2020-12-11 09:57 Try var $rows = $('.items .itemRow'); $rows.first().append($rows.not(':first').children()) $rows.not(':first').remove(); Demo: Fiddle 0 讨论(0) 查看其它5个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
Try
var $rows = $('.items .itemRow'); $rows.first().append($rows.not(':first').children()) $rows.not(':first').remove();
Demo: Fiddle