jq 禁用复选框 和输入框

            $('input').attr("readonly", "");
            $('input').attr("disabled", "false");
            $("input[type=checkbox]").each(function () {
                  $(this).attr("disabled", false);
            });
原文地址:https://www.cnblogs.com/enych/p/8462145.html