如何为属性是disabled的表单绑定js事件

$(document).click(function(e){
    var el = e.target;
    if (el.tagName == 'INPUT') {
        $(el).removeAttr('disabled');
    }
})
posted @ 2018-04-24 20:36  catgatp  阅读(485)  评论(0编辑  收藏  举报