想在webform提交時禁用所有按鈕btnSave.Attributes.Add("onmouseup","$('input').attr('disabled','disabled');return true;")這樣寫后form就不提交了..onclick應該也不行 查看完整描述