【发布时间】:2010-04-27 03:47:07
【问题描述】:
我想在洗牌图像列表后将所有alt="" 值放在一个数组中!
但我总是得到保存值!为什么?
$('ul').shuffle(); //this will shuffle the list
var a = {};
$("ul img").each(function() {
a[this.alt] = $(this).attr("alt");
});
$.operation(a, shuffle);
【问题讨论】: