Greasy Fork is available in English.

Diskusie » Žiadosť o vytvorenie

Script changing form attributes

§
Pridaný: 13.10.2015
Upravený: 13.10.2015

Script changing form attributes

I want that the script self remove the disabled="" part:

<input disabled="" id="btn_download" value="Download File" class="dwld_btn" type="submit">
§
Pridaný: 13.10.2015

var d=document.querySelectorAll('input'); for(var i=0;i

Jixun.MoeZablokovaný
§
Pridaný: 19.10.2015
document.getElementById('btn_download').disabled = false;

Or like this, for one specific element.

Pridať odpoveď

Aby ste mohli pridať odpoveď, prihláste sa.