but that is no correct under Ajax. because the real code is Generate return confirm('Are you sure'); __doPostBack('ctl00$ContentPlaceHolder1$lbRestore','')because the button is normal button and use onclick event no submit type.So the event is lose. Please use if (!confirm('Are you sure?')){return false;} 相关文章: 2021-07-02 2021-11-18 2022-12-23 2021-06-26 2021-12-25 2022-12-23 2022-02-01 2021-07-24