html button disabled code example
Example 1: style disabled button
button:disabled,
button[disabled]{
border: 1px solid #999999;
background-color: #cccccc;
color: #666666;
}
Example 2: html button disabled
<button type="button" disabled>This button is disabled</button>
Example 3: enable html button
$('#Button').prop('disabled', true);
Example 4: button disabled
.disabled {
opacity: 0.6;
cursor: not-allowed;
}