d = $j("#sort_sections > li").map(function(index, element){
return [[element.id,
$j(element).find("li.content").map(function(subindex, subelement){
return subeleme开发者_开发知识库nt.id;
}).toArray()]];
}).toArray();
It currently works in 1.4.2, but I need it to work in 1.3.2 =\
Replace .toArray()
with .get()
.
They do the same thing, but .toArray()
was added in jQuery 1.4
.
精彩评论