JavaScript Adicionar atributo
var element = document.getElementById('btnBuild');
element.setAttribute("disabled", "disabled");
Ganz404
var element = document.getElementById('btnBuild');
element.setAttribute("disabled", "disabled");
var e = $('<div style="display:block; float:left;"></div>');
e.attr('id', 'myid');