jquery 可见元素

 $("input[name=check_all]").click(function () {
            $(":checkbox[name=download_filename]:visible").attr("checked", $(this).attr("checked"))
        })
原文地址:https://www.cnblogs.com/y0umer/p/3839048.html