📅  最后修改于: 2022-03-11 15:03:14.988000             🧑  作者: Mango
var arr = [];
i = 0;
$('#cover div').each(function()
{
alert($(this).attr('id'));
arr[i++] = $(this).attr('id');
//I should store id in an array
});