Discussions » Creation Requests

Script changing form attributes

§
Posted: 2015-10-13
Edited: 2015-10-13

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: 2015-10-13

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

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

Or like this, for one specific element.

Post reply

Sign in to post a reply.