js 指定位置增加按钮


var operate_div = document.getElementById('operateDiv');
var input_ly = document.createElement("input");
input_ly.type = "button";
input_ly.setAttribute("class","button");
input_ly.setAttribute("value","导出缺陷模板");
input_ly.addEventListener("click",exportEntityTemLinYang);
input_ly.setAttribute("left","12px");
input_ly.setAttribute("font-size","13px");
input_ly.setAttribute("height","22px");
operate_div.appendChild(input_ly);


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM