I have a set of divs with random ids:
3条回答 刺人心 (楼主) 2020-12-01 20:01 I'd use the tinysort plugin: http://tinysort.sjeiti.com/ In your case it would be something like: $("#container > div").tsort("",{attr:"id"}); 0 讨论(0) 查看其它3个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
I'd use the tinysort plugin:
http://tinysort.sjeiti.com/
In your case it would be something like:
$("#container > div").tsort("",{attr:"id"});