jQuery 遍历

jQuery 遍历 - eq() 方法

if(data[i].status !='已送达'){
$('.w-beget').eq(i).attr('disabled','disabled');
}

原文地址:https://www.cnblogs.com/winyh/p/6419804.html