我想确认用户继续保存。
假设我有两个进程,Process-One
和Process-Two
。
完成后Process-One
,我想向用户显示确认消息框以继续保存Process-Two
。
protected void btnSaveProcess_Click(object sender, EventArgs e)
{
..Saving Process-One....
..Saving Process-One Complete....
// here to show "Are you sure you want to Save Process-Two"
//if user confirm "OK" , save Process-Two
//if user "Cancel" , stop and cancel saving Process-Two
}
实际上,我在 Javascript 方面有点薄弱。如何使用 Javascript 进行此过程?
蒂亚:)