There are 2 button
, one with the disabled
property, and the second one not. It is necessary that when you click on the second button, the disabled
property of the first one disappears.
<button disabled id="btn1"></button> <button id="btn2"></button>