我嘗試1:的JavaScript ASp.net ..在存量價值在HiddenField從JavaScript錯誤。檢查代碼如下
var a=confirm('Do You Really want to Save this Record?') ;
document.getElementById('Hidden.ClientID') = a;
我嘗試2:
var a=confirm('Do You Really want to Save this Record?') ;
document.getElementById('Hidden.ClientID').value = a;
代碼背後:
Response.Write(Hidden.Value);
Response.End();
////////// 爲什麼Value沒有存儲在隱藏字段中?
提供更多的代碼,訪問hiddin領域,你如何使用隱藏字段.. – 2012-07-13 14:40:23