I have an html button and I dynamically disabled it using the following property values
disabled="disabled"
How can I make it work again? I do not want to disable it now
You can simply set the disabledproperty to falsein JavaScript, for example:
disabled
false
document.getElementById("myId").disabled = false;
var e = document.getElementById("someElement"); e.removeAttribute("disabled");
and disconnect again,
e.setAttribute('disabled','disabled');
Source: https://habr.com/ru/post/1782277/More articles:magento _redirect with parameters that have + or / - url-encodinggetting a localized string - cIzPack replaces variables in text files - javaTouch drawing line moved to COCOS2D - iosКак найти/установить местоположение буфера нуля? - emacsКак нарисовать линию/дуги на CIImage? - objective-cAndroid convert pcm file from AudioRecord to smaller file - androidText outline in swt - javaNew to Amazon RDS, need help - phpПочему мой JTable CellRenderer работает все время? - javaAll Articles