JQuery遍历取element after the specified element

来源:互联网 发布:js使input不可编辑 编辑:程序博客网 时间:2024/05/21 14:31
$('input[name="id"]:checked').each(function() {
                var ele = $(this).nextAll('[id="customSelectUrlEnabled"]');
                ele = ele.add($(this).parents('td').nextAll('[id="customSelectUrlEnabled"]'));
                ele = ele.add($('[id="customSelectUrlEnabled"]',$(this).parents('td').nextAll()));
                var code = ele.first().html();
                lodCodes.push(code);
            });
var subUrl = 'lodCodes=' + lodCodes;
0 0
原创粉丝点击