0

jquery 禁用按钮设置为灰色

adelaide created at8 years ago view count: 2864

jquery 怎样禁用按钮,把botton置灰,不能点击。

report
回复
0

$(':input[type="submit"]').prop('disabled', true);

取消禁用 $(':input[type="submit"]').prop('disabled', false);

8 years ago 回复
0

$(":submit").attr("disabled", true);

8 years ago 回复

Recent search keywords