📅  最后修改于: 2022-03-11 14:57:42.404000             🧑  作者: Mango
代码示例1
var btn = document.getElementById("mybtn");
btn.value = 'my value'; // will just add a hidden value
btn.innerHTML = 'my text';