如果用户没有在 20 分钟内点击提交,我想在我的 Google 表单中使用应用程序脚本在 20 分钟内自动提交表单。无论如何要实现这个????
我想通过单击按钮在此输入框中生成随机数.这里有什么问题?
function myFunction() {
var x = document.getElementById("demo");
x.innerHTML = Math.floor((Math.random() * 100) + 1);
}Run Code Online (Sandbox Code Playgroud)
<button onclick="myFunction()">Try it</button>
<input type="text" name="demo" id="demo" value="" size="13" disabled="disabled" />Run Code Online (Sandbox Code Playgroud)