1
document.forms["Form1"].elements[okbn].disabled = true;
中的對應條目中
this.Request.Form.AllKeys
消失。我如何禁用按鈕,但在AllKeys中保留條目?
document.forms["Form1"].elements[okbn].disabled = true;
中的對應條目中
this.Request.Form.AllKeys
消失。我如何禁用按鈕,但在AllKeys中保留條目?
disable
意思是「不要在提交的數據中包含這個」。
也許你想要readonly
而不是?
但'readonly'仍然使按鈕啓用。我想要抑制進一步的點擊...? –