The issue I am having is that I want the submit button hidden after(我遇到的问题是我想在之后隐藏提交按钮)
I have chosen a date from a calendar.(我从日历中选择了一个日期。) and submitted it.(并提交。) The html/script I am using is ...(我正在使用的html / script是...)
<input type="button" value="Try it" id="Submit1" onclick= "myFunction();this.form.submit();">
<script>
function myFunction() {
var x = document.getElementById("Submit1");
x.hidden= true;
}
</script>
...
When you have clicked the button it hides the button for a second but then appears again.(单击按钮后,按钮会隐藏一秒钟,然后再次出现。) I guess this when the page is reloaded.(我猜这是在重新加载页面时。) Anybody have a solution for this.(任何人对此都有解决方案。)
Its being written in Classic asp VB(它用Classic ASP VB编写)
ask by Iain translate from so
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…