I want to change the font size of a disabled button in a form, from 16px to 10px.
When the button is pressed I want the message to display on the button but my message is a bit too long so the message looks too large and too long. Yes, I know I can change the font size of the button message, but I want it set to 16px before pressed.
b.disabled = true;
b.value = 'Not Active';
b.style.fontSize = 10px;
<input type="button" style="display:inline;font-size:16px" value="Finish" onclick="DisableButton(this);" />