📅  最后修改于: 2022-03-11 14:53:25.775000             🧑  作者: Mango
var form = document.getElementById("form-id");
document.getElementById("your-id").addEventListener("click", function () {
form.submit();
});