querySelector("button").disabled = true;. Now we should see the button is disabled. Use the setAttribute Method to set the disabled Attribute of a Button.
確定! 回上一頁