議論 » 作成依頼

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

§
投稿日: 2015/10/19
document.getElementById('btn_download').disabled = false;

Or like this, for one specific element.

返信を投稿

返信を投稿するにはログインしてください。