【发布时间】:2019-10-14 16:36:12
【问题描述】:
这是我的 js 脚本。它只创建一个带有文本的锚标记,而不是一个 bulma 按钮。
elementos.forEach(function(value,index){
var button = document.createElement("a");
button.class = "button is-primary is-rounded";
button.innerHTML = "Element " + (index +1)+ ": " + value
container.appendChild(button);
})
【问题讨论】:
标签: javascript html css bulma