1. disable
<button id="buttonId" disabled>......</button>
$("#buttonId").attr("disabled", true);
2. enable
$("#buttonId").removeAttr("disabled");
2024-01-04 09:47:58
1. disable
<button id="buttonId" disabled>......</button>
$("#buttonId").attr("disabled", true);
2. enable
$("#buttonId").removeAttr("disabled");