Greasy Fork is available in English.

Discussions » Creation Requests

Script changing form attributes

§
Posted: 13 Oktober 2015
Edited: 13 Oktober 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">
§
Posted: 13 Oktober 2015

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

§
Posted: 19 Oktober 2015
document.getElementById('btn_download').disabled = false;

Or like this, for one specific element.

Post reply

Sign in to post a reply.