js 数据存入数组

    var tag = [];
    $('.deltag').each(function(){
            if($(this).attr("checked")== 'checked'){
                tag.push($(this).attr('value'));
            }
    });

 

posted @ 2015-08-21 18:09  微客鸟窝  阅读(2726)  评论(0编辑  收藏  举报
/* 看板娘 */