讨论 » 创建请求

Script changing form attributes

§
发表于:2015-10-13
编辑于: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">
§
发表于:2015-10-13

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

Jixun.Moe管理员
§
发表于:2015-10-19
document.getElementById('btn_download').disabled = false;

Or like this, for one specific element.

发表回复

登录以发表回复。