With wb.AddButtonGroup("form1", "btg1", True)
.Add("btn1", "确定", "button").Attribute = "onclick=""show('dlg3')"""
End With
With wb.AddDialog("", "dlg1", "成功", "恭喜你,编号【" & deloid & "】的订单删除成功!") '增加订单成功提示框
.AddButton("btnNo", "返回", "list.htm")
End With
With wb.AddDialog("", "dlg2", "错误", "") '增加订单失败提示框
.AddButton("btnOK", "确定")
End With
With wb.AddDialog("","dlg3", "删除确认","您确定要删除当前记录吗?")
.AddButton("btnCancel","取消").Kind = 1
.AddButton("btnOK","确定").Attribute = "onclick='myfunction()'"
End With