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