把按钮设置成不可选以后,这会让按钮变灰并且不能点击。

$("button").prop("disabled", true);

posted on 2017-11-02 21:11  芸芸众生!  阅读(1110)  评论(0编辑  收藏  举报