更新时间:2021-08-12 22:44:17
你在想这样的事情吗?
$('ul li').each(function(i) { $(this).attr('rel'); // This is your rel value });
jQuery 查找并列出特定 DIV 中 UL 内的所有 LI 元素