📅  最后修改于: 2022-03-11 15:04:12.133000             🧑  作者: Mango
var x = document.getElementById("myForm");
var txt = "";
var i;
for (i = 0; i < x.length; i++) {
console.info(x.elements[i].value);
}